• 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
Klemsus Avatar
Name:Unknown
Clan:ALE
Member Since:Mar 2015
Last Seen:May 2024
Profiles:
Following:0
Followers:4
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (42)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • VilauGC
    • commented on "Catching Car Mileage Numbers" java solution
    • 2 years ago

    This line "1234567890".contains(s) is brilliant!

  • Custom User Avatar
    • trashy_incel
    • resolved a suggestion on "Conway's Game of Life - Unlimited Edition" kata
    • 2 years ago
  • Custom User Avatar
    • trashy_incel
    • commented on "Conway's Game of Life - Unlimited Edition" kata
    • 2 years ago

    approved by someone

  • Custom User Avatar
    • Swag_Legend
    • commented on "Catching Car Mileage Numbers" java solution
    • 3 years ago

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

  • Custom User Avatar
    • YoakeNoTenshi
    • commented on "Catching Car Mileage Numbers" java solution
    • 3 years ago

    I feel really silly now, this is great.

  • Custom User Avatar
    • Bigoh20
    • commented on "Catching Car Mileage Numbers" java solution
    • 3 years ago

    I don't get a single line XD

  • Custom User Avatar
    • Bartek Rocek
    • commented on "Catching Car Mileage Numbers" java solution
    • 4 years ago

    Don't be, I am 35 lines ahead :)

  • Custom User Avatar
    • ejini战神
    • resolved a suggestion on "Did you mean ...?" kata
    • 4 years ago

    Approved some time ago

  • Custom User Avatar
    • bnymobile
    • commented on "Catching Car Mileage Numbers" java solution
    • 4 years ago

    Great! Now I feel stupid, lol...

  • Custom User Avatar
    • arekceg
    • commented on "Catching Car Mileage Numbers" java solution
    • 4 years ago

    I love this solution :D

  • Custom User Avatar
    • Sloubi
    • commented on "Catching Car Mileage Numbers" java solution
    • 4 years ago

    Nice one :)
    As a little improvements :

    • The "number > 99" test is done up to 5 times (one time for each predicate), it can be done outside the stream.
    • I'm not of fan of Integer.paseInt(Integer.toString(number)), but I guess it's a compromise for readability to have all the predicates on strings.
  • Custom User Avatar
    • boringMax
    • commented on "Catching Car Mileage Numbers" java solution
    • 5 years ago

    Like this one so much!

  • Custom User Avatar
    • TusharM1
    • commented on "Catching Car Mileage Numbers" java solution
    • 6 years ago

    How does Stream.<Predicate>of() work? Is it casting the output of the method?

  • Custom User Avatar
    • Bruel
    • commented on "Catching Car Mileage Numbers" java solution
    • 7 years ago

    As always, now i feel terrible for my 100 lines solution. Not that I was going for simple, but I do wish I knew more about this functional programming thingy. it's so more concise and easy to read.

  • Custom User Avatar
    • MMMAAANNN
    • commented on "Whitespace Interpreter" kata
    • 8 years ago

    Hi Klesmus,
    Can you please look at some comments above regarding the Java version?

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...