• 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
CodeWars_Warrior Avatar
Name:Mario Hristov
Clan:Unknown
Member Since:Apr 2021
Last Seen:Jun 2025
Profiles:
Following:2
Followers:2
Allies:1
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (32)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • jinks908
    • commented on "English beggars" kata
    • 5 months ago

    Because you linked to the original kata, which requires that the beggars choose the larger pile each time, unless they are equal, in which case they will choose the leftmost pile. Since there are no equal piles in this array, each beggar would choose the larger pile each time, leading the order 5, 4, 3, 2, 1. Your kata requires that they always choose the leftmost pile no matter what, but unless you actually state that, there is no way to know. It needs to be rewritten.

  • Custom User Avatar
    • KayleighWasTaken
    • commented on "Pick peaks" kata
    • 2 years ago

    The correct result for your example is

    {"pos": [3, 7, 10], "peaks": [6, 3, 2]}
    
  • Custom User Avatar
    • CodeWars_Warrior
    • created a question for "Pick peaks" kata
    • 2 years ago

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

  • Custom User Avatar
    • CodeWars_Warrior
    • commented on "Is a number prime?" csharp solution
    • 2 years ago

    Hire this man!

  • Custom User Avatar
    • jroycodes
    • commented on "Content" topic
    • 2 years ago

    Two years ago!! Am probably too late lol

  • Custom User Avatar
    • CodeWars_Warrior
    • created a question for "Another card game" kata
    • 2 years ago

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

  • Custom User Avatar
    • Chrono79
    • resolved a question on "Fibonacci on roids" kata
    • 4 years ago

    No problem.

  • Custom User Avatar
    • CodeWars_Warrior
    • commented on "Fibonacci on roids" kata
    • 4 years ago

    Yea thanks, I see now!

  • Custom User Avatar
    • Chrono79
    • commented on "Fibonacci on roids" kata
    • 4 years ago

    I think you confused something:

    CustomFib(new[] { 3, 5, 2 }, new[] { 0, 1, 2 },4) == 17 #similar to my Tribonacci
                   (not 5, 3, 2)   
    0 = 3
    1 = 5
    2 = 2
    3 = 3 + 5 + 2 = 10
    4 = 5 + 2 + 10 = 17
    
  • Custom User Avatar
    • CodeWars_Warrior
    • created a question for "Fibonacci on roids" kata
    • 4 years ago

    I didn't quite understand how the sequence should continue?
    For example ({5,3,2}, {0,1,2}, 4) = 17 How does that happen
    If we assume that
    0 = 5
    1 = 3
    2 = 2
    3 = 5 + 3 + 2 = 10

  • Custom User Avatar
    • CodeWars_Warrior
    • commented on "Find the Discriminant " kata
    • 4 years ago

    fat discord mod

  • Custom User Avatar
    • dfhwze
    • resolved an issue on "Find the Discriminant " kata
    • 4 years ago

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

  • Custom User Avatar
    • dfhwze
    • resolved an issue on "Find the Discriminant " kata
    • 4 years ago

    retired

  • Custom User Avatar
    • B1ts
    • commented on "Find the Discriminant " kata
    • 4 years ago

    It's retired. You cannot solve it anymore.

  • Custom User Avatar
    • 1Kanan1
    • commented on "Find the Discriminant " kata
    • 4 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...