• 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
curtmack Avatar
Name:Unknown
Clan:Unknown
Member Since:Oct 2013
Last Seen:Feb 2020
Profiles:
    Following:1
    Followers:1
    Allies:1
    View Profile Badges
    Ad
    8 Reasons Why Codewarriors Practice Coding with Codewars
    Not everyone trains the same. Discover new ways to leverage Codewars in your education and career.
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (27)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • Unnamed
      • commented on ""Valid Parentheses" Clojure Translation"
      • 6 years ago

      0 <= input.length <= 100

      Strings of lengths 0 and 100 should be tested.

      input may contain any valid ASCII characters

      This should be tested too.
      Random tests should be added.
      The function name should be valid-parentheses or maybe even valid-parentheses?.

    • Custom User Avatar
      • jbristow
      • commented on ""Multiples of 3 and 5" Clojure Translation"
      • 8 years ago

      I just wanted to add a simple fork that shows off what the Project Euler question was hinting towards. The iterative solution becomes slow beyond a million or so.

    • Custom User Avatar
      • cheecheeo
      • commented on "Monotone travel" haskell solution
      • 10 years ago

      Thanks :).

    • Custom User Avatar
      • curtmack
      • commented on "Monotone travel" haskell solution
      • 10 years ago

      I like the zipWith tail trick, I'll have to remember that for code golf.

    • Custom User Avatar
      • curtmack
      • commented on ""Largest Difference in Increasing Indexes" Clojure Translation"
      • 11 years ago

      Good catch, fixed.

    • Custom User Avatar
      • jhoffner
      • commented on ""Largest Difference in Increasing Indexes" Clojure Translation"
      • 11 years ago

      Needs clojure examples added to description.

    • Custom User Avatar
      • bkaes
      • commented on "Head, Tail, Init and Last" kata
      • 11 years ago

      head a :: Int. Not a :: Int.

    • Custom User Avatar
      • laoris
      • commented on "Head, Tail, Init and Last" kata
      • 11 years ago

      Cool, thanks. Works for me now!

    • Custom User Avatar
      • user578387
      • resolved a suggestion on "Head, Tail, Init and Last" kata
      • 11 years ago

      Added.

    • Custom User Avatar
      • user578387
      • commented on "Head, Tail, Init and Last" kata
      • 11 years ago

      Fixed again, made a slight typo.

    • Custom User Avatar
      • laoris
      • commented on "Head, Tail, Init and Last" kata
      • 11 years ago

      Still seems to be doing it in Ruby:

      Test number 6:
      Test Passed: Value == 33
      Test Passed: Value == []
      Expected: [33], instead got: []
      Test Passed: Value == 33
      

      So the test expects init([33]) == [33]. Is that correct?

    • Custom User Avatar
      • user578387
      • commented on "Head, Tail, Init and Last" kata
      • 11 years ago

      Yeah, I just noticed that my changes weren't saved, and I've updated them again.

    • Custom User Avatar
      • OverZealous
      • commented on "Head, Tail, Init and Last" kata
      • 11 years ago

      No, the issue still occurs for JS:

      // input: [ 12, 31, 38, 24 ]
      Expected: [12,31], instead got: [12,31,38]
      
    • Custom User Avatar
      • user578387
      • resolved an issue on "Head, Tail, Init and Last" kata
      • 11 years ago

      Rectified.

    • Custom User Avatar
      • user578387
      • commented on "Head, Tail, Init and Last" kata
      • 11 years ago

      No, I do specify differently; the test cases were wrong, as indicated by the issues below.

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...