• 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
denis-codewars18 Avatar
Name:Unknown
Clan:Unknown
Member Since:Jun 2024
Last Seen:Jun 2025
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations
    • Replies (10)
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • hobovsky
      • commented on "Update inventory in your smartphone store" kata
      • 3 months ago

      Your comparison function is not a valid comparison function. Comparers used in sort have to conform to specific requirements, and yours does not.

    • Custom User Avatar
      • natan
      • commented on "Sort by Last Char" kata
      • 3 months ago

      your code is super wrong and failed the tests. what is there to fix?

    • Custom User Avatar
      • Kees de Vreugd
      • commented on "The rarest pepe" kata
      • 5 months ago

      That depends on what went wrong...

    • Custom User Avatar
      • DenzelGitonga007
      • commented on "Moving Zeros To The End" kata
      • 5 months ago

      Got the same error

    • Custom User Avatar
      • hobovsky
      • commented on "Row of the odd triangle" kata
      • 6 months ago

      Your solution crashes for large numbers. Try running it with n=160000.

    • Custom User Avatar
      • hobovsky
      • commented on "Compare powers" kata
      • 7 months ago

      If you have execution timeout, then the solution does not pass, despite of returning correct answers.

      See if this paragraph helps.

    • Custom User Avatar
      • JohanWiltink
      • commented on "Are all elements equal? (Infinity version)" kata
      • 7 months ago

      Object.keys doesn't work on an iterable object ( well, it does, but it doesn't do what you want it to do ). You have to iterate it. Follow the link in the description and read up on the protocol.

      This question was already answered here.

    • Custom User Avatar
      • Chrono79
      • commented on "Moving Zeros To The End" kata
      • 8 months ago
                     v                           v   v
      expected [ 9, +0, 9, 1, 2, 1, 1, 3, 1, 9, +0, +0, 9, +0, +0, +0, +0, +0, +0, +0 ] to deeply equal 
               [ 9, 9, 1, 2, 1, 1, 3, 1, 9, 9, +0, +0, +0, +0, +0, +0, +0, +0, +0, +0 ]
      

      The first value there is your answer, and you can see there are more than one 0 not at the end. Probably you're mutating the array at the same time you run through it, skipping values.

      About what +0 is, you can see that's 0, don't mind the + before it, it's probably chai adding it in the assertion.

    • Custom User Avatar
      • rowcased
      • commented on "Number Format" javascript solution
      • 11 months ago

      no, it returns with commas

    • Custom User Avatar
      • Kacarott
      • commented on "3 powers of 2" kata
      • 11 months ago

      There is a trick to do it, which doesnt require searching for every possible combination. Hint: think about why its specifically powers of 2?

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...