• 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
timp Avatar
Name:Unknown
Clan:Unknown
Member Since:Jun 2015
Last Seen:May 2016
Profiles:
    Following:0
    Followers:19
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (293)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • Hoduc123
      • commented on "Friend or Foe?" python solution
      • 20 days ago

      i have no idiea ,absolute code

    • Custom User Avatar
      • Shinsekami
      • commented on "Is the string uppercase?" javascript solution
      • 20 days ago

      Same bro

    • Custom User Avatar
      • Tanvir47
      • commented on "Return to Sanity" python solution
      • 2 months ago

      These qs are supposed to be debugged not optimized

    • Custom User Avatar
      • Studenich
      • commented on "Binary Addition" ruby solution
      • 3 months ago

      writing it in 1 line doesn't make it better...

    • Custom User Avatar
      • YaoXu
      • commented on "SevenAte9" python solution
      • 5 months ago

      Super clever!

    • Custom User Avatar
      • dsmiller95
      • commented on "The highest profit wins!" csharp solution
      • 6 months ago

      Contrary to other posters, I believe this is best practice and best performance. the Min Max implementations are vectorized, making them faster than the typical for loop by an order of magnitude. Even considering the double iteration. this will depend on the hardware.

    • Custom User Avatar
      • dsmiller95
      • commented on "The highest profit wins!" csharp solution
      • 6 months ago

      @hiyosilver - did you benchmark your code? I did, and the "naive" Min/Max solution is indeed faster. C# vectorizes the search, which makes it an order of magnitude faster than a linear search with a for loop, according to my benchmark.

    • Custom User Avatar
      • MinecraftCoder9-YT
      • commented on "Friend or Foe?" python solution
      • 7 months ago

      yoo so did i

    • Custom User Avatar
      • AlexxSotelo
      • commented on "Friend or Foe?" python solution
      • 8 months ago

      I can´t beleave this kata has this short solution. You are awesome.

    • Custom User Avatar
      • klaus_tha_bawse
      • commented on "Friend or Foe?" python solution
      • 8 months ago

      nice

    • Custom User Avatar
      • codegeist
      • commented on "Binary Addition" ruby solution
      • 9 months ago

      not the best solution and not very clever.

      • Dont define methods in one line, as it is not very readable
      • Use spaces between operators (+) and parameters to make the code more readable
      • Using a variable like sum for the result of the addition makes the code more self explenatory
    • Custom User Avatar
      • OleksandrObydalo
      • commented on "A Strange Trip to the Market" java solution
      • 9 months ago

      I was afraid that there would be phrases like "TREE FIDDY" or "THREE FIFTY", and wrote unnecessary command s.toLowerCase().

    • Custom User Avatar
      • PlausiblePenguin
      • commented on "Friend or Foe?" python solution
      • 10 months ago

      Did the exact same program, only the variable 'f' was 'name' in mine. Congrats to all who finished it :D

    • Custom User Avatar
      • ejini战神
      • resolved a suggestion on "Grouping Consecutive Numbers" kata
      • 12 months ago
    • Custom User Avatar
      • freelandkate
      • commented on "Maximum Subarray Sum II" kata
      • 13 months ago

      I have the same issue with random tests (Golang, wrong order)

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...