• 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
alex.budiakov Avatar
Name:Alex
Clan:UK
Skills:java, scala, javascript
Member Since:May 2014
Last Seen:Mar 2025
Profiles:
Following:22
Followers:31
Allies:16
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (433)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • josemenveg
    • commented on "The Clockwise Spiral" kata
    • 5 months ago

    I had the same issue, but I finally found my mistake, the key: "Return an empty array if N < 1 or N is not int / number"
    When 2 is not a number?

  • Custom User Avatar
    • simon437
    • commented on "Sentence Smash" java solution
    • 5 months ago

    Tip: Consider using a positive test for cleaner code:
    return words == null ? null : String.join(" ", words);
    This approach is more intuitive and aligns with best practices.

  • Custom User Avatar
    • SimpleMRish
    • commented on "Frog jumping" python solution
    • 6 months ago

    This solution works. But I think shouldn't be considered as best practices or clever solution since can be optimized

  • Custom User Avatar
    • freelandkate
    • commented on "The Clockwise Spiral" kata
    • 14 months ago

    It was not eazy, but very interesting!

  • Custom User Avatar
    • For2nTiRReX
    • commented on "The Clockwise Spiral" kata
    • 14 months ago

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

  • Custom User Avatar
    • ellohez
    • commented on "The Clockwise Spiral" kata
    • 15 months ago

    JavaScript - can anyone please explain the final test? The instructions say that an empty array should be returned if N is NaN or < 1.
    What value is N on the last test? I have tried logging it out and I am only getting 0 or 2 which makes no sense.

  • Custom User Avatar
    • Harold2017
    • commented on "The Clockwise Spiral" kata
    • 2 years ago

    emmm... i feel like a fool.

  • Custom User Avatar
    • v1taly
    • commented on "The Clockwise Spiral" kata
    • 2 years ago

    Look at begining of your function. Empty array is {}

    {{}} - array containing 1 empty array.

    ;)

  • Custom User Avatar
    • Christina_M
    • commented on "The Clockwise Spiral" kata
    • 2 years ago

    Thank you so much for this comment! I was utterly confused when:

    • The test header said "Should return -1"
    • The actual output suggested the expected result was []
    • The input seemed to be 2 based on console logging (which was already tested further up and handled correctly)

    I would've never been able to guess a non-integer was the problem based on the information made available to me by the test. Bad form.

  • Custom User Avatar
    • AlexDRichards
    • commented on "Frog jumping" kata
    • 2 years ago

    setup should specify whether frog can jump out of either side of the array or not.

  • Custom User Avatar
    • green slime
    • commented on "The Clockwise Spiral" kata
    • 2 years ago

    invalid input I got was:
    -1
    0
    -101

  • Custom User Avatar
    • ozhurova
    • commented on "Frog jumping" kata
    • 3 years ago

    I think the task condition is written incorrectly. "A frog cannot jump out of an array" how to understand how many jumps it should do to understand that it still cannot jump out of an array??!!! my stack was overloaded because the frog could jump back and forth endless for given condition [1,-1]

  • Custom User Avatar
    • dfhwze
    • resolved a suggestion on "Frog jumping" kata
    • 3 years ago

    approved

  • Custom User Avatar
    • dfhwze
    • resolved a suggestion on "Frog jumping" kata
    • 3 years ago

    approved

  • Custom User Avatar
    • trashy_incel
    • created a suggestion for "Frog jumping" kata
    • 3 years ago

    C translation 🐸 (author gone)

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...