• 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
poly000 Avatar
Name:poly000
Clan:Unknown
Member Since:Jul 2020
Last Seen:May 2025
Profiles:
Following:1
Followers:3
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (29)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Technetium_Phenol
    • commented on "You Can't Code Under Pressure #1" rust solution
    • 4 months ago

    The gotcha with this is if you get a negative number.

  • Custom User Avatar
    • saudiGuy
    • commented on "Sudoku Solve in C" kumite
    • 7 months ago

    Failed tests.

  • Custom User Avatar
    • TiborKoderman
    • commented on "Grasshopper - Summation" rust solution
    • 2 years ago

    This one has constant comlexity O(1), while an iterator will have at least linear complexity O(n).
    While this doesn't make this automatically more efficient for small values, we can optimise this solution by using bit operation for deviding but the compiler already does that for us.
    So that means this solutuon needs 4 arthmic operations to execute, while the iterator solution needs at least n arethmic operations, meaning that if n is bigger than 4 the iterator solution is already worse.

  • Custom User Avatar
    • user5758481
    • commented on "You Can't Code Under Pressure #1" rust solution
    • 2 years ago

    Damn man you are good

  • Custom User Avatar
    • okada_py
    • commented on "Grasshopper - Summation" rust solution
    • 2 years ago

    Yup that one should be best practice

  • Custom User Avatar
    • g4gyre
    • commented on "Grasshopper - Summation" rust solution
    • 2 years ago

    I feel this one more performant for very large n, under the assumption that sum() function for iterators goes through n elements.

  • Custom User Avatar
    • TurboWindX
    • commented on "You Can't Code Under Pressure #1" rust solution
    • 2 years ago

    Good use of bit shifting

  • Custom User Avatar
    • Chrono79
    • commented on "You Can't Code Under Pressure #1" rust solution
    • 3 years ago

    Please use spoiler flag next time.

  • Custom User Avatar
    • sirmaxford
    • commented on "You Can't Code Under Pressure #1" rust solution
    • 3 years ago

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

  • Custom User Avatar
    • poly000
    • commented on "Next Prime" python solution
    • 4 years ago

    wait, **0.5 will not works well with really big integers...

  • Custom User Avatar
    • poly000
    • commented on "Sum of pairs" kata
    • 4 years ago

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

  • Custom User Avatar
    • poly000
    • commented on "Sum of pairs" kata
    • 4 years ago

    is it O(n)?

  • Custom User Avatar
    • poly000
    • commented on "Sum of pairs" rust solution
    • 4 years ago

    this is optimized for cases the array has many duplicate numbers.

    btw if there are 1,000,000 i8 elements, we can promise that is true

  • Custom User Avatar
    • FArekkusu
    • resolved a suggestion on "Feature Requests" topic
    • 4 years ago
  • Custom User Avatar
    • user9644768
    • commented on "Feature Requests" topic
    • 4 years ago

    This is obsolete forum, open issue in this repo: https://github.com/codewars/runner/issues requesting the same.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...