Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
O(2n). Not the best one
O(2n). Not the best one
Disgusting description. Only from comments section I got to know that the "won" can be greater than 1.
I find the description to be inadequate and unclear.
Why author dont want to include sample of results? Its just super boring trying to grasp the condition without explicit result needed.
hm, it's a pretty weird case but yes, you'r right, when I covered additional test cases (add 2 lines of code for these cases) that is not included in this kata as result I did't get any error even after 10 pushes into "attempt" button. Do I need to close this issue?
This comment is hidden because it contains spoiler information about the solution
OMG, it's so loooong
U just kidding me :D I have already solved it this hard way and I thought that you'll rank up this kata (sort of 5 kyu or 4 kyu) but you just simply update tests :/ frankly speaking, It's not honest :D
Guys, why tf it's ranked as a 6 kyu kata? It's harder than most 5 kye katas and it's rather harder than some 4 kyu katas. It took me 5 hours to solve this one due to the timeout error. I have no idea how you guys solved it so fast (I'm sure that you have solved it pretty fast, since you rate it as a 6 kyu) without googling of specific algorithm that alowed you to solve it in O(n)
omg, why the heck I didn't solve it this way >< It's super obvious...
this kata is a waste of time.. Please make more clarified instructions in the future
I've been racking my brains trying to solve this kata :/ But finally I'm glad that I solved this :D
Guys, I solved it without googling of formulas and without any math knowledge. Just logic and programming skills :)
hm, wow, are you sure? It seems like I need to dive into complexity topic deeper because I don't have a clue why these solutions are the same by t/c :/
Loading more items...