• 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
zoid Avatar
Name:David
Clan:Czech
Skills:algorithmization, c++, c#
Member Since:Oct 2015
Last Seen:Sep 2024
Profiles:
    Following:4
    Followers:16
    Allies:4
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (129)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • Cute4aika
      • commented on "Sum Strings as Numbers" csharp solution
      • 8 months ago

      The method breaks if
      a = 5068264919506826491950682649195068264919506826491950682649195068264919506826491950682649195068264919506826491950682649195068264919506826491950682649195068264919506826491950682649195068264919
      b = 3430838343343083834334308383433430838343343083834334308383433430838343343083834334308383433430838343343083834334308383433430838343343083834334308383433430838343v34308383433430838343343083836

    • Custom User Avatar
      • Neo-Ryo
      • commented on "Equal Sides Of An Array" javascript solution
      • 9 months ago

      Awesome

    • Custom User Avatar
      • LogicalPhalluses
      • commented on "Two to One" csharp solution
      • 10 months ago

      I be so excited to complete a challenge with my 32 lines of code then come here and see this TT_TT

    • Custom User Avatar
      • cstiago
      • commented on "Beginner Series #3 Sum of Numbers" java solution
      • 10 months ago

      Really clever, thank you for the insight.

    • Custom User Avatar
      • konstantinuza
      • commented on "Equal Sides Of An Array" javascript solution
      • 11 months ago

      Genius!

    • Custom User Avatar
      • ziadev
      • commented on "Equal Sides Of An Array" javascript solution
      • 12 months ago

      very nice!

      I did not understand at first so had to go step by step on paper.

    • Custom User Avatar
      • truanthh
      • commented on "Equal Sides Of An Array" javascript solution
      • 13 months ago

      first top voted solution that is really cool in a while

    • Custom User Avatar
      • patgas
      • commented on "Equal Sides Of An Array" javascript solution
      • 15 months ago

      Wow, nice and elegant aproach, but you should use '===' instead of '==' to compare left and right as we intend to compare their numerical value so including type aswell ( in your case "false" would be equal to "0" etc ), and I personally am not a fan of using vars ( "let" and "const" would be more elegant )

    • Custom User Avatar
      • Xeqior
      • commented on "Two to One" csharp solution
      • 15 months ago

      Linq is just using someone else code.

    • Custom User Avatar
      • Khannarc
      • commented on "Equal Sides Of An Array" javascript solution
      • 15 months ago

      And here I am, slicing up the array like a madman with a rusty cleaver...

    • Custom User Avatar
      • JackUnicorn
      • commented on "Equal Sides Of An Array" javascript solution
      • 2 years ago

      But there is an index that will make it work. It's 0.

      // index 0: [-10, -10, 20]
      left = 0;
      right = -10 - 10 + 20 => 0;
      

      On index 0 left and right values are equal.

    • Custom User Avatar
      • Ung Sereysopea
      • commented on "Beginner Series #3 Sum of Numbers" java solution
      • 2 years ago

      So smart!

    • Custom User Avatar
      • JonColman
      • commented on "Gap in Primes" javascript solution
      • 2 years ago

      It should be noted that in the detail, m > 2.

    • Custom User Avatar
      • binertia
      • commented on "Equal Sides Of An Array" javascript solution
      • 2 years ago

      fun kata and still reasonable best practice.

    • Custom User Avatar
      • dvolve
      • commented on "Beginner Series #3 Sum of Numbers" java solution
      • 2 years ago

      yeah nice, but it's missing the case in which both a and b are negative

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...