• 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
EakzIT Avatar
Name:Eakz
Clan:Unknown
Member Since:Dec 2019
Last Seen:Nov 2024
Profiles:
Following:4
Followers:2
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (42)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • PedroAchilles
    • commented on "Don't Drink the Water" python solution
    • 9 days ago

    Pop removes the last element and returns it. So it is creating the return from the elements of chain backwards.

  • Custom User Avatar
    • darellanodev
    • commented on "Compare within margin" javascript solution
    • 8 months ago

    That's a very cool answer, I have never used Math.sign before.

  • Custom User Avatar
    • 1alexvash
    • commented on "Card Game" javascript solution
    • 10 months ago

    Very clever!

  • Custom User Avatar
    • Snor4e
    • commented on "Don't Drink the Water" python solution
    • 2 years ago

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

  • Custom User Avatar
    • Juancho2004gg
    • commented on "Reversing a Process" python solution
    • 2 years ago

    bruh

  • Custom User Avatar
    • BucketOnHead
    • commented on "Multiplication table for number" java solution
    • 3 years ago

    This is a good solution, but not universal :( To fix it, you need to use System.lineSeparator() or System.getProperty("line.separator")

    • \n is for unix
    • \r is for mac (before OS X)
    • \r\n is for windows format

    Good luck in your studies! =)

  • Custom User Avatar
    • vas_art
    • commented on "Unshackle the Beast (uncontrolled components in ReactJS)" javascript solution
    • 3 years ago

    It actually does not matter what you assign there. It is overriden in the tests anyway

  • Custom User Avatar
    • khanhtranngoccva
    • commented on "Sum a list but ignore any duplicates" python solution
    • 3 years ago

    This algorithm is not best practices - albeit short, having to run the counter once every duplicate value results in the algorithm being O(n^2). Using counters would have been a much better solution, which only has a complexity of O(n).

  • Custom User Avatar
    • EakzIT
    • commented on "Sum a list but ignore any duplicates" python solution
    • 3 years ago

    short but for optimized - u have way too many iterations calling count and set/sum

  • Custom User Avatar
    • SourabBallal
    • commented on "Twisted Sum" python solution
    • 3 years ago

    Clever one.. Awesome!!

  • Custom User Avatar
    • Super_Delphi
    • commented on "For Twins: 2. Math operations" python solution
    • 3 years ago

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

  • Custom User Avatar
    • tayurus
    • commented on "Paginating a huge book" javascript solution
    • 3 years ago

    how did you came for this?!?

  • Custom User Avatar
    • BQJ
    • commented on "Check same case" python solution
    • 3 years ago

    same here

  • Custom User Avatar
    • else_21
    • commented on "For Twins: 2. Math operations" python solution
    • 3 years ago

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

  • Custom User Avatar
    • Loukis
    • commented on "16+18=214" python solution
    • 4 years ago

    In python any number that is different from 0 is considered True (inclusive negatives)

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...