• 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
bytehala Avatar
Name:Unknown
Clan:Unknown
Member Since:Mar 2016
Last Seen:May 2020
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies
  • Authored (9)
  • Needs Resolution
  • Custom User Avatar
    • bytehala
    • created an issue for "count vowels in a string" kata
    • 9 years ago

    In the instructions, there's a duplication of Test case samples.

  • Custom User Avatar
    • bytehala
    • created an issue for "Greed is Good" kata
    • 9 years ago

    This needs to clearly communicate what four 5's do, in Test Case form.
    Test.assert_equals( score([5, 3, 5, 5, 5]), 550 )

    I can pass the final submission test cases even if I return 500 with four 5's but it should be 550.

  • Custom User Avatar
    • bytehala
    • commented on "A tetrahedron of cannonballs" kata
    • 9 years ago

    Same with Ruby, assertEquals is used, instead of assert_equals.

  • Custom User Avatar
    • bytehala
    • commented on "A tetrahedron of cannonballs" kata
    • 9 years ago

    I just finished the Ruby version, the test cases are failing now probably because assertEquals is now assert_equals.

  • Custom User Avatar
    • bytehala
    • commented on "Triangular Treasure" ruby solution
    • 9 years ago

    I keep forgetting that nil is false, so I keep using arithmetic operators... D:

  • Custom User Avatar
    • bytehala
    • commented on "Rot13" ruby solution
    • 9 years ago

    TIL gsub could do blocks...

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

    +1 because you didn't need a hash like we did. heh

  • Custom User Avatar
    • bytehala
    • commented on "Fibonacci, Tribonacci and friends" ruby solution
    • 9 years ago

    Mindblowing! The simplicity of this code makes it seem like Array#shift was made for this exact problem.

  • Custom User Avatar
    • bytehala
    • commented on "IPv4 to int32" ruby solution
    • 9 years ago

    The simplicity had me laughing. Good one.
    No need to assign to x though.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...