• 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
LeotheOne Avatar
Name:Leonardo Contreras
Clan:Unknown
Member Since:Nov 2020
Last Seen:Apr 2025
Profiles:
    Following:4
    Followers:0
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations
    • Replies (10)
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • NoneAli
      • commented on "Bit Counting" javascript solution
      • 4 months ago

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

    • Custom User Avatar
      • Kiborgmozg666
      • commented on "Beeramid" kata
      • 15 months ago

      9 - 1*1 * 2(because price is 2) = 7
      7 - 2 * 2 * 2 = -1
      but we cant have the -1 beer thats why the answer is 1

    • Custom User Avatar
      • laser_cat
      • commented on "Snail" kata
      • 3 years ago

      You return an array - a pointer to an array. When it is empty you can return NULL.

    • Custom User Avatar
      • twilight_log
      • commented on "Find the unknown digit" kata
      • 3 years ago

      Was about to raise an issue because of that, thanks for the clarification!

    • Custom User Avatar
      • lechevalier
      • commented on "parseInt() reloaded" python solution
      • 4 years ago

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

    • Custom User Avatar
      • zLuki
      • commented on "Find the unknown digit" kata
      • 4 years ago

      Thanks for the hint, I had the same problem :)

    • Custom User Avatar
      • Chrono79
      • commented on "Return substring instance count - 2" kata
      • 4 years ago
      cbbbbbcbbcccccacbabc'
       bb bb bb  
      

      There are three there.

      search_substr( 'aaa', 'aa' ) # should return 2
                      aa
                       aa
      

      That's overlapping.

    • Custom User Avatar
      • gizlu
      • commented on "Snail" kata
      • 4 years ago

      Yes and no. Empty matrix is represented by [[]] array

    • Custom User Avatar
      • Chrono79
      • commented on "Snail" kata
      • 4 years ago

      Read Note 2 at the end of the description, also the error message you get.

    • Custom User Avatar
      • Chrono79
      • commented on "Snail" kata
      • 4 years ago

      Yes.

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...