• 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
FrustratedCoder Avatar
Name:Unknown
Clan:Unknown
Member Since:Feb 2016
Last Seen:Apr 2025
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies
  • Authored (3)
  • Needs Resolution
  • Custom User Avatar
    • FrustratedCoder
    • commented on "Can you get the loop ?" kata
    • 2 years ago

    hey why dont you keep a track of all node addresses, then when they start repeating break.
    But before you break allow just the current node that signalled "hey, am already on the list". That node is your head to the loop.
    NB: Just allow one node's address to repeat.

  • Custom User Avatar
    • FrustratedCoder
    • commented on "Delete occurrences of an element if it occurs more than n times" ruby solution
    • 2 years ago

    woow, thanks alot i didnt even know this.

  • Custom User Avatar
    • FrustratedCoder
    • commented on "Delete occurrences of an element if it occurs more than n times" ruby solution
    • 2 years ago

    have replaced the occurrences = Hash.new(0) with occurrences = {} .It throws an error and i dont understand why, who can explain the reason?

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...