• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
Matimateokol Avatar
Name:Mateusz Kołacz
Clan:SolDevelo Java Guild
Member Since:Nov 2021
Last Seen:Jan 2025
Profiles:
Following:4
Followers:5
Allies:4
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (8)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Matimateokol
    • commented on "Get the Middle Character" java solution
    • 2 years ago

    I would go for this solution. It's very compact, readable and doesn't need any extra imports.

  • Custom User Avatar
    • Matimateokol
    • commented on "Is he gonna survive?" java solution
    • 2 years ago

    You don't have to explicitly cast int type to long, the compiler will do it for you. The other story would be if you tried to assign long value to int variable - that's the case when explicit casting would be obligatory. Nonetheless, good work! Keep practicing :)

  • Custom User Avatar
    • Your Mom6969
    • commented on "Show what you are made of!" kumite
    • 3 years ago

    p.s. using the queue is genius, i never even thought about using it, good stuff

  • Custom User Avatar
    • Your Mom6969
    • commented on "Show what you are made of!" kumite
    • 3 years ago

    i love it, this is a masterpiece

  • Custom User Avatar
    • ismailfarooq1
    • commented on "Show what you are made of!" kumite
    • 3 years ago

    Lmao why am I laughing

  • Custom User Avatar
    • Your Mom6969
    • commented on "Show what you are made of!" kumite
    • 3 years ago

    Your Mom6969 is the CHAMPIOOOONNNNN!!!

  • Custom User Avatar
    • Your Mom6969
    • commented on "Show what you are made of!" kumite
    • 3 years ago

    ok

  • Custom User Avatar
    • Matimateokol
    • commented on "Show what you are made of!" kumite
    • 3 years ago

    Your turn! :)

  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...