• 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
cubei Avatar
Name:Lars Harmsen
Clan:Quchen
Member Since:Oct 2016
Last Seen:Jun 2020
Profiles:
Following:2
Followers:2
Allies:2
View Profile Badges
Ad
How many Kata did you complete in 2024?
Discover our top moments in 2024 and how you can level up in 2025.
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (10)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Encro
    • commented on "Fold an array" java solution
    • 7 years ago

    Really cool solution! Learned in one snippet of code a lot about terniary operators, recursion, thanks!

  • Custom User Avatar
    • markus.benko
    • commented on "Fold an array" java solution
    • 8 years ago

    What a great comment from dinglemouse explaining why the solution is not best practice. =) Many solutions found here at CW and voted for best practice are not and people should keep in mind that many solution authors don't aim for best practice, at least not all the time. Very compact code, highest performance (which is != runtime complexity!) or excessive Streams API usage alone do not automatically make a solution best practice, please keep that in mind. ;-)

  • Custom User Avatar
    • ziggy42
    • commented on "Fold an array" java solution
    • 8 years ago

    I didn't know that! Thanks a lot!

  • Custom User Avatar
    • dinglemouse
    • commented on "Fold an array" java solution
    • 9 years ago

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

  • Custom User Avatar
    • cubei
    • commented on "Fold an array" java solution
    • 9 years ago

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

  • Custom User Avatar
    • dinglemouse
    • commented on "Fold an array" java solution
    • 9 years ago

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

  • Custom User Avatar
    • cubei
    • commented on "Valid Phone Number" kata
    • 9 years ago

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

  • Custom User Avatar
    • cubei
    • commented on "Fold an array" java solution
    • 9 years ago

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

  • Custom User Avatar
    • cubei
    • commented on "Fold an array" java solution
    • 9 years ago

    I don't get the indention ;)

  • Custom User Avatar
    • cubei
    • commented on "Find The Parity Outlier" java solution
    • 9 years ago

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

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...