• 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
Nad.Chel Avatar
Name:Sergey Zolotaryov
Clan:Unknown
Member Since:Jan 2023
Last Seen:Mar 2024
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    Ad
    How many Kata did you complete in 2024?
    Discover our top moments in 2024 and how you can level up in 2025.
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations
    • Replies (21)
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • chriscarrollsmith
      • commented on "The Millionth Fibonacci Kata" kata
      • 13 months ago

      Memoization via a stream isn't good enough to solve this kata. You'll have to study the link provided in the description.

    • Custom User Avatar
      • myself23c
      • commented on "The Hashtag Generator" javascript solution
      • 2 years ago

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

    • Custom User Avatar
      • EibanSensei
      • commented on "Are they the "same"?" javascript solution
      • 2 years ago

      I tried it and it failed in two of the test cases (I think where one array was empty and the other was null)

    • Custom User Avatar
      • mohic
      • commented on "Convert string to camel case" java solution
      • 2 years ago

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

    • Custom User Avatar
      • KayleighWasTaken
      • commented on "Not very secure" kata
      • 2 years ago

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

    • Custom User Avatar
      • posoto
      • commented on "Strip Comments" java solution
      • 2 years ago

      (?m) multi line. Causes ^ and $ to match the begin/end of each line (not only begin/end of string)

    • Custom User Avatar
      • hobovsky
      • commented on "The Millionth Fibonacci Kata" kata
      • 2 years ago

      The StackOverflow most probably suggests the approach is not the best one. The "max buffer size reached" might be possible to fix, depends what causes it: https://docs.codewars.com/training/troubleshooting/#maxbuffer

      Both can be also caused by some bug putting you in an infinite recursion/loop by mistake.

    • Custom User Avatar
      • hobovsky
      • commented on "The Millionth Fibonacci Kata" kata
      • 2 years ago

      You need to find a way to perform fewer recursive calls. Making one recursive call per term is going to exhaust stack quite quickly if there's many terms. There are algorithms to calculate Fibonacci numbers which require significantly fewer steps, be it iterative, or recursive.

    • Custom User Avatar
      • hobovsky
      • commented on "The Millionth Fibonacci Kata" kata
      • 2 years ago

      Yes, your solution needs to return the exact value.
      Which is, actually, not that much. If my back of envelope calculations are correct, millionth fib is ~90kB. This volume of data should be possible to handle without serious problems. Getting to the result, on the other hand, this is the actual challenge.

    • Custom User Avatar
      • hobovsky
      • commented on "The Millionth Fibonacci Kata" kata
      • 2 years ago

      It's perfectly fine to use recursion in this problem.

    • Custom User Avatar
      • Chrono79
      • commented on "Find the unique number" javascript solution
      • 2 years ago

      All numbers are equal except for one.

      Please read the description.

    • Custom User Avatar
      • Chrono79
      • commented on "Find the unique number" javascript solution
      • 2 years ago

      All numbers are equal except for one.

      Not a problem, that input is not in the problem's domain.

    • Custom User Avatar
      • hobovsky
      • commented on "Josephus Survivor" kata
      • 2 years ago

      I do mean LinkedList, and if it's slow it's possible it's still not used by you correctly. It can be difficult to tell without seeing your code.
      But I did not try to solve the kata with LinkedList so I dont guarantee it 100% works. I would expect it to, but I went with a math approach for my solution.

    • Custom User Avatar
      • hobovsky
      • commented on "Josephus Survivor" kata
      • 2 years ago

      This algorithm might work, but you need a better data structure. Removing from an ArrayList is relatively expensive, there are collections which will suit this task better.
      Or you can research for a math approach, but I think yours should work too, just takes much more memory than math one.

    • Custom User Avatar
      • Chrono79
      • commented on "The Hashtag Generator" javascript solution
      • 2 years ago

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

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...