• 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
dmitrokoz Avatar
Name:Dzmitry Kozel
Clan:Unknown
Member Since:Aug 2021
Last Seen:Dec 2023
Profiles:
Following:2
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (44)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • kwis
    • commented on "Double Char" java solution
    • 3 months ago

    Looks cleaner, but toCharArray allocates an extra array while this approach doesn't!

  • Custom User Avatar
    • Mozaffar Motwakil
    • commented on "Double Char" java solution
    • 8 months ago

    i like this solve, before that i don't know about StringBuilder but now i know about it and i know it's best practice when we want to editing on the String cause its no creatint a new object in every time we editing in the String but it is editing on the same object, so its good for performance and efficiency and don't take more space from the Heap memory.

  • Custom User Avatar
    • garudajava
    • commented on "Bin to Decimal" java solution
    • 11 months ago

    Trying the same (to my eyes) code, I keep getting a 'cannot find symbol' error on variable imp? (Never mind, found the typo, it was variable 'inp' ...)

  • Custom User Avatar
    • pearcemerritt
    • commented on "List Filtering" java solution
    • 2 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • dmitrokoz
    • commented on "Valid Parentheses" java solution
    • 2 years ago

    It is clever, but not the best solution as no one understands with a brief look what's going on.

  • Custom User Avatar
    • HavariusOpal
    • commented on "Closest to Zero" java solution
    • 2 years ago

    Does not work for another input. E.g. [2,-2, 0]

  • Custom User Avatar
    • BucketOnHead
    • commented on "Sum of Cubes" java solution
    • 3 years ago

    You are absolutely right, there is no need for this

  • Custom User Avatar
    • B10nicle
    • commented on "Double Char" java solution
    • 3 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • dmitrokoz
    • commented on "List Filtering" java solution
    • 3 years ago

    I believe in that case kata would be higher than 7

  • Custom User Avatar
    • Gherno
    • commented on "List Filtering" java solution
    • 3 years ago

    What if the initial list have a boolean?

  • Custom User Avatar
    • V-Bes
    • commented on "Kingdoms Ep1: Jousting" java solution
    • 3 years ago

    Thanks for the advice, beginner at codewars, haven't learned the local rules yet )

  • Custom User Avatar
    • dmitrokoz
    • commented on "Kingdoms Ep1: Jousting" java solution
    • 3 years ago

    Thx. I believe it could be refactored even more, but have no time for this...
    By the way, you may just press the buttons "Best Practices" and "Clever". Usually, comments are used to ask something or add some information.

  • Custom User Avatar
    • V-Bes
    • commented on "Kingdoms Ep1: Jousting" java solution
    • 3 years ago

    Nice solution

  • Custom User Avatar
    • dmitrokoz
    • commented on "Redacted!" java solution
    • 3 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • a-koenig
    • commented on "Returning Strings" java solution
    • 3 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...