• 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
polluxCast0r Avatar
Name:Hesoyam
Clan:Unknown
Member Since:Jul 2016
Last Seen:Mar 2024
Profiles:
Following:1
Followers:3
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (131)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • zhamar
    • created an issue for "Pi approximation fractions" kata
    • 10 months ago

    Thanks for this kata.

    I think the test has a serious deficiency: it does not check if the solution contains the smallest possible numbers, although this condition is stated in the problem description. Please modify the test or the description.

  • Custom User Avatar
    • TSingh1699
    • created a suggestion for "Pi approximation fractions" kata
    • 12 months ago

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

  • Custom User Avatar
    • polluxCast0r
    • created an issue for "Value at Risk for an equity portfolio" kata
    • 15 months ago

    The check_list test function always returns True if one of the arrays is empty.

  • Custom User Avatar
    • Surprise Withdraw
    • commented on "Array with distance of N" kata
    • 2 years ago

    There seems to be an issue with the test case in Python, when I try and just return the passed variable in the function to see what datatype needs returned, it says there is something wrong with the test case, I might just be stupid but I don't think that is supposed to happen.

  • Custom User Avatar
    • polluxCast0r
    • commented on "Array with distance of N" kata
    • 2 years ago

    Hello! Try writing solutions for smaller arrays on paper (Note that there are many solutions). Some of them will help you find the pattern

  • Custom User Avatar
    • TokiThor
    • created a question for "Array with distance of N" kata
    • 2 years ago

    I can't even solve this with pen and paper. Am I stupid or is this a very difficult one?
    Any hints to get started?

  • Custom User Avatar
    • Kacarott
    • resolved an issue on "Array with distance of N" kata
    • 2 years ago

    Approved

  • Custom User Avatar
    • Awesome A.D.
    • created an issue for "Array with distance of N" kata
    • 2 years ago

    I forked the kata with a more efficient solution verification method. What with all the talk about performance in the discourse below, I figured a good way to start was to eliminate the O(n²) operation that had to be performed on every test.

    Maybe someone can take a look and see whether I missed anything.

  • Custom User Avatar
    • dfhwze
    • commented on "Array with distance of N" kata
    • 2 years ago

    I would specify in the description the intended time complexity, and also add a tag: performance

  • Custom User Avatar
    • dfhwze
    • commented on "Array with distance of N" kata
    • 2 years ago

    I hope users will revote knowing these performance constraints

  • Custom User Avatar
    • LanXnHn
    • commented on "Array with distance of N" python solution
    • 2 years ago

    did it just before I went to sleep, not thinking too much...

  • Custom User Avatar
    • Voile
    • commented on "Array with distance of N" python solution
    • 2 years ago

    This is a very naughty solution ;-) Are you sure you're writing in Python?

  • Custom User Avatar
    • Voile
    • commented on "Array with distance of N" kata
    • 2 years ago

    Perhaps you can just use my solution and demand an O(n) solution.

  • Custom User Avatar
    • LanXnHn
    • commented on "Array with distance of N" kata
    • 2 years ago

    Of course.

    You can use the one I forked, more neat.

  • Custom User Avatar
    • polluxCast0r
    • commented on "Array with distance of N" kata
    • 2 years ago

    It is, thanks!

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...