• 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
PG1 Avatar
Name:Pete
Clan:freeCodeCamp
Member Since:Oct 2015
Last Seen:May 2025
Profiles:
    Following:730
    Followers:1,594
    Allies:709
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations
    • Replies (81)
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • MasterMaxLennonKroll
      • commented on "ToLeetSpeak" kata
      • 6 years ago

      A : '@',
      B : '8',
      C : '(',
      D : 'D',
      E : '3',
      F : 'F',
      G : '6',
      H : '#',
      I : '!',
      J : 'J',
      K : 'K',
      L : '1',
      M : 'M',
      N : 'N',
      O : '0',
      P : 'P',
      Q : 'Q',
      R : 'R',
      S : '$',
      T : '7',
      U : 'U',
      V : 'V',
      W : 'W',
      X : 'X',
      Y : 'Y',
      Z : '2'
      Thats 26 if statment!!!
      TO MUCH IF STATMENTS!!!

    • Custom User Avatar
      • MasterMaxLennonKroll
      • commented on "ToLeetSpeak" kata
      • 6 years ago

      I agree (:

    • Custom User Avatar
      • user8436785
      • commented on ""Numbers to Letters" PHP Translation"
      • 6 years ago

      done

    • Custom User Avatar
      • user8436785
      • commented on ""Well of Ideas - Easy Version" Elixir Translation"
      • 6 years ago

      done.

    • Custom User Avatar
      • user8436785
      • commented on ""Remove String Spaces" Elm Translation"
      • 6 years ago

      Done for all.

    • Custom User Avatar
      • GiacomoSorbi
      • commented on ""Ironman Triathlon" Python Translation"
      • 6 years ago

      What about npw?

    • Custom User Avatar
      • GiacomoSorbi
      • commented on ""Ironman Triathlon" Python Translation"
      • 6 years ago

      Does it give you any more details? Because forking is not revelaing any conflict in the description.

    • Custom User Avatar
      • GiacomoSorbi
      • commented on ""Ironman Triathlon" Ruby Translation"
      • 6 years ago

      See what happens when you drink too much? You lose consciousness and forget everything for years.

      All fixed :)

    • Custom User Avatar
      • anter69
      • resolved an issue on "Grasshopper - Terminal game combat function" kata
      • 6 years ago

      Sample tests are already present

    • Custom User Avatar
      • ZED.CWT
      • commented on "The Baby Years II - Poo Roulette" javascript solution
      • 7 years ago

      Do you really want me to reveal the tick instead of having fun with it yourself?
      Hint : It has the same structure with the one on the left o_O

    • Custom User Avatar
      • GiacomoSorbi
      • commented on "Sub-array elements sum" kata
      • 7 years ago

      Fixed :+1:

      Will write to you via gitter once I found some spare time.

    • Custom User Avatar
      • GiacomoSorbi
      • commented on "Sub-array elements sum" kata
      • 7 years ago

      Hey, Pete! We really need to catch up, ah! And thanks for reporting the typo, will fix it once I am done with the c++ translation.

      I am fine, all good on your side too?

    • Custom User Avatar
      • marcoruggeri
      • commented on "Product of "all" digits" kata
      • 7 years ago

      done thank you :)

    • Custom User Avatar
      • Chrono79
      • commented on "Not above the one!" kata
      • 7 years ago

      Pass a copy of the array to the user's function or get the expected answer first. You're allowing the user to mutate the input so your testing code produces wrong expected values.
      In the random tests, you're not using a at all, you can remove it.

    • Custom User Avatar
      • Mooaholic
      • commented on "Not above the one!" kata
      • 7 years ago

      I may be wrong here, but i was interested by what was happening here that i started to look at it(Dont know much Java myself.) but the only thing i can see is that maybe it is because in your code you modify the original array. I believe this change to the array makes just the 1's and 0's remain in the array when it is sent to the test function so there is nothing for it to remove and it give the expected answer of just 1's an 0's and nothing removed. Hope this makes sense.

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...