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.
Fixed.
I just completed the kata in JS and random tests do not seem to be completely broken, but your solution does appear to have a bug. You need to fix your solution.
JavaScript random tests are completely broken again. Stated n is not being tested against. If it is, it is not being tested against properly.
Vandalised a bit and merged.
Fixed.
Fixed.
My 420th kata completion ;D Not sure if I learnt anything with this one though haha
Simple and clear kata about object oriented programming, well done.
Nice kata!
Thanks for the kata.
Simple yet technical, thanks.
Thanks for creating this kata — it was fun figuring out how to parse the scale string and turn it into a simple formula for the bottle contents’ weight!
I've got it. Really the reason was -- I supposed it will need optimization (as usually) and added some big values to local test cases. Timeout was on my PC.
This kata doesn't require optimization. I think it's possible your previous solution may have had a bug that caused infinite recursion; hard to tell without seeing it. But I'm closing this for the time being because the naive solutions pass the tests in negligible time.
If you used ifelse(,,), it is slow in R
Naive solutions use if(){return()} and are in time
Loading more items...