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.
Same here. It works but is so ugly I dubbed the result to return "ihatemycode" since i get sick of even looking at it. Sadly, it performs too bad and gets killed by timeout. Therefore, nobody will ever have to look at it.
This comment is hidden because it contains spoiler information about the solution
Not gonna lie that's one of the worst code i ever made... I dont know why, i cant figured out a simple solution for it. Really good kata just for that.
Well, imagine you have ...XX... thing. Okay, so you test for the first
frame == "X"
and you try to add the next one - but it appears to be non-int, so you will get lost.No! he is right in the spirit of the kata. the spirit is "The use of BigInteger or BigNumber functions has been disabled, this requires a complex solution. I have removed the use of require in the javascript language."
What is a more complex solution than mentally calculte everything?
Since you can use bigNumber calcultion why not use any calculation at all?
天哪,你杀了它
Honestly the rules just make the kata artificially a little harder. Community had fine may way to circumvent it. And even if you play it fair they are not that hard to reproduce. Definitly not a 4kyu.
This comment is hidden because it contains spoiler information about the solution
Am I still allowed to do js now?