• 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
kegor Avatar
Name:Yegor Kochetkov
Clan:Unknown
Member Since:Nov 2021
Last Seen:Apr 2024
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (6)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • kegor
    • commented on "Sum of Digits / Digital Root" kata
    • 3 years ago

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

  • Custom User Avatar
    • kegor
    • commented on "Sum of Digits / Digital Root" kata
    • 3 years ago

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

  • Custom User Avatar
    • Insisted
    • commented on "Sum of Digits / Digital Root" kata
    • 3 years ago

    I'm assuming you are attempting it on JS. That's weird, because I just submitted my JS code (Simple approach) and passed all the test.
    Edit: Oh you just passed the test

  • Custom User Avatar
    • kegor
    • commented on "Sum of Digits / Digital Root" kata
    • 3 years ago

    help me!

    2066 5
    expected 5 to equal 9

    2+0+6+6=14 => 1+4=5?
    why 9?

    16257 3
    expected 3 to equal 9

    1+6+2+5+7=21 => 2+1=3
    why 9?

  • Custom User Avatar
    • kegor
    • commented on "List Filtering" javascript solution
    • 4 years ago

    you're right, it's useless here. just before I solved a similar kata, where was also necessary to remove duplicates. So I did it automatically.

  • Custom User Avatar
    • JCM0101
    • commented on "List Filtering" javascript solution
    • 4 years ago

    Why did you use a Set here?
    If you were given an array like [1,2,1,3,"a"] it would return [1,2,3] instead of [1,2,1,3]

    cheers Jo :)

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...