• 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
Merk Avatar
Name:Unknown
Clan:Home
Skills:js
Member Since:Jan 2016
Last Seen:Apr 2021
Profiles:
Following:1,190
Followers:1,188
Allies:1,186
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (15)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Viktor.startsWith_Z
    • commented on "Autocomplete! Yay!" javascript solution
    • 15 months ago

    Me and my 60 lines of code ...

  • Custom User Avatar
    • dennispaixao
    • commented on "Autocomplete! Yay!" javascript solution
    • 4 years ago

    nice point to consider

  • Custom User Avatar
    • RyanTuckerN
    • commented on "Weight for weight" javascript solution
    • 4 years ago

    Same! I was working on it for about 30 minutes trying to get it to work. One google search for 'sort by number then alphabetically' and, lo and behold, a stack overflow suggesting the hallowed LocaleCompare. Good stuff.

  • Custom User Avatar
    • hattapoglu
    • commented on "Weight for weight" javascript solution
    • 6 years ago

    omg that's great!

  • Custom User Avatar
    • buy instagram followers
    • commented on "Weight for weight" javascript solution
    • 6 years ago

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

  • Custom User Avatar
    • buy instagram followers
    • commented on "Weight for weight" javascript solution
    • 6 years ago

    yes if there is a more than one space I think there might be a problem

  • Custom User Avatar
    • buy instagram followers
    • commented on "Weight for weight" javascript solution
    • 6 years ago

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

  • Custom User Avatar
    • lightsage88
    • commented on "Autocomplete! Yay!" javascript solution
    • 6 years ago

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

  • Custom User Avatar
    • shannonkay
    • commented on "Weight for weight" javascript solution
    • 7 years ago

    I wish this was my solution... this makes mine so inadequate haha :) Nice work!

  • Custom User Avatar
    • suessflorian
    • commented on "Weight for weight" javascript solution
    • 8 years ago

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

  • Custom User Avatar
    • peter_jacuzzi
    • commented on "Weight for weight" javascript solution
    • 8 years ago

    Ah, then that explains it.

    This solution is still really elegant though. You could just regexing the string first without having to refactor the rest of the code.

  • Custom User Avatar
    • Unnamed
    • commented on "Weight for weight" javascript solution
    • 8 years ago

    The task was different until yesterday...

  • Custom User Avatar
    • peter_jacuzzi
    • commented on "Weight for weight" javascript solution
    • 8 years ago

    This solution does not satisfy the whitespace criteria of the kata:

    The input string can have leading, trailing whitespaces and more than a unique whitespace between two consecutive numbers
    
  • Custom User Avatar
    • trzeciakp
    • commented on "Weight for weight" javascript solution
    • 8 years ago

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

  • Custom User Avatar
    • linuscash
    • commented on "Autocomplete! Yay!" javascript solution
    • 9 years ago

    Definitely agree. Can terminate after 5 matches.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...