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.
Nice solution but i got lost reading this code lol :)
done
done
I'm scared...
Just remove your random tests. Having no random tests is horrible, but better than the current situation.
How???
bro is code golfing, it's a cool kata to codegolf, he's good
I genuinely believe this is the hardest kata I have ever solved. Nothing has ever taken me 800 lines of code.
assertEquals(13, Cable.caculateLength("(-())="));
(-())= equals 13
2 * 1 + 1 * 2 + 2 * 3 + 3 =
2 + 2 + 6 + 3 = 13
It's a good solution, but it's hard to read. I think it's better when detailed names are used, and when conditions are complex, it's better to choose simpler constructions, not comprehensions.
ohhh haha. You should have seen some of the ones I unpublished. Just embarassing..
haha, nono, I meant because of all the down voting
lol! Yeah, not my jam. Your katas are waaay better.
I can see why you stopped authoring kata's
Your solution to this beta kata was invalidated because of recent requirement changes. Specifically, answers should now be returned as instances of class
Fraction
, not as floats.I apologize for the inconvenience. Feel free to resubmit your solution to reflect this minor specification change.
Loading more items...