• 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
codejosh Avatar
Name:Unknown
Clan:TrshPuppies
Member Since:Sep 2016
Last Seen:Jun 2025
Profiles:
    Following:36
    Followers:38
    Allies:35
    View Profile Badges
    Ad
    Educator, struggling to assess your students?
    Assess your classroom or bootcamp with the world leading assessment platform, Qualified.Request your demo today!
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations
    • Replies
    • Authored (25)
    • Needs Resolution
    • Custom User Avatar
      • codejosh
      • commented on "2048!" kata
      • 4 months ago

      Thanks. I solved it minutes after I had last posted.

    • Custom User Avatar
      • codejosh
      • commented on "2048!" kata
      • 4 months ago

      Which issue is it below? There are so many. Your comment is not veyr helpful. :(

    • Custom User Avatar
      • codejosh
      • created an issue for "2048!" kata
      • 4 months ago

      The tests appear broken. This looks like it contradicts the instructions:

      input:
      [ 8, 8, 8, 8 ],
      [ 2, 0, 8, 16 ],
      [ 0, 0, 8, 8 ],
      [ 0, 0, 4, 0 ]

      Expected:
      [32, 0, 0, 0]
      [2, 8, 16, 0]
      [16, 0, 0, 0]
      [4, 0, 0, 0]

      instead got:
      [16, 16, 0, 0]
      [2, 8, 16, 0]
      [16, 0, 0, 0]
      [4, 0, 0, 0]

    • Custom User Avatar
      • codejosh
      • created an issue for "Lost Cities Score Calculator" kata
      • 13 months ago

      This is lacking. The second parameter, 'wager', appears to be the # of handshake cards, but 'wager' isn't even in the description.

    • Custom User Avatar
      • codejosh
      • commented on "IndexOf Array in Array" javascript solution
      • 14 months ago

      Using JSON.stringify here is quite poor, imo. It's wasteful and the opposite of 'best practices'.

    • Custom User Avatar
      • codejosh
      • commented on "Can you get the loop ?" kata
      • 14 months ago

      You don't need the nodes' values. They might not even have values.

    • Custom User Avatar
      • codejosh
      • commented on "Can you get the loop ?" kata
      • 14 months ago

      It doesn't depend on using the node value. The values could all be identical. The nodes don't even need to store a value inside of them.

    • Custom User Avatar
      • codejosh
      • commented on "Card Game" kata
      • 14 months ago

      I like recursion, but there's an easy non-recursive solution.

    • Custom User Avatar
      • codejosh
      • commented on ""Blowing Birthday Candles" Scala Translation"
      • 14 months ago

      I don't think one can generally put anything outside of an object or class in Scala. It's more like Java and C# than Python, Javascript, etc.

    • Custom User Avatar
      • codejosh
      • commented on ""Blowing Birthday Candles" Scala Translation"
      • 14 months ago

      Thanks, please review this again. I added random tests.

    • Custom User Avatar
      • codejosh
      • commented on ""The Vowel Code" Scala Translation"
      • 14 months ago

      I have added random tests. Please re-review this.
      Thanks.

    • Custom User Avatar
      • codejosh
      • commented on ""The Vowel Code" Scala Translation"
      • 14 months ago

      Scala requires functions to be inside of an object or a class, afaik.
      If you know differently, please link me to relevant docs.
      I'll add random tests.
      If there's anyhting else wrong, please let me know.
      Thanks

    • Custom User Avatar
      • codejosh
      • commented on ""Blowing Birthday Candles" Scala Translation"
      • 14 months ago

      No, not accidentally.

    • Custom User Avatar
      • codejosh
      • created an issue for "Zeckendorf Cards Generator" kata
      • 14 months ago

      Tests don't even run correctly.

    • Custom User Avatar
      • codejosh
      • commented on ""Find Multiples of a Number" Java Translation"
      • 2 years ago

      Can you use a better variable name than integer? I think you even call it 'base' in the description...

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...