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.
Very elegant solution, thanks for the lesson!
Pro guy right here
thanks for the comments
done
This is issue is done, I suppose.
Or maybe make the kata actual bill-splitting exercise? Use monetary values instead of floats (euros and cents, or something), and explain how trailing parts of the bill should be handled?
This would make the kata at least a bit more interesting, would make it correct, and would create something resembling a real-life scenario. Nothing but win!
best way out of this would surely be to make sure that prices are always divisible by all "portions" eaten.
Wiltink, charming as ever.
( there are no requirements for ordering.
assert.deepEqual
does not depend on ordering. it can just be specified as irrelevant. )( poor, poor author. welcome to floating point hell. )
People don't lose their honour if their solution gets invalidated.
As long as you're in Beta, solutions are fair game, you can change the specs all you want. People are free to resubmit their ( updated ) solution.
i have changed the input structure but everyone that solved it before will have to solve it again i supose
should i revert to keep their honor points or keep the improvement for the kata is a better move?
i followed all the three points you mentioned
thanks for guiding me
modified, thanks
Loading more items...