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.
Lol
Completed it. Very satisfying to get it working
5kyu is far too high for this IMO. Challenging to get functionally correct, extremely tough to optimize under the time limit. Closer to a 2-3kyu IMO.
Shocked how long that took....
Done at last. My brain is fried.
This comment is hidden because it contains spoiler information about the solution
Tricky, harder than a 7 imo.
Javascript tests are broken, if one breaks the rest start given some really screwy expectations. Maybe they aren't completely isolated. Apply rank 8 to rank 6 should give 40 points to add according to description and result in no rank change (old progress 53, new progress 93). But the test wants a rank up for this (to 7), and wants new progress to be 31 (????).
I wouldn't expect any hints as to how to solve the actual puzzle itself, but I want to solve it the "right" way, not find I've used reflection then turns out I've "cheated" :-)
Don't agree, my first thought was "I can't do that, must be testing if I can apply reflection" and there's nothing in the description telling me that isn't the right approach. Once I've seen the solution it becomes obvious how the problem is solved. Maybe a note saying "You don't need to use reflection etc to solve this"?
Got it now. Definitely needs a "puzzle" tag, the challenge is the maths not the coding here.
Since the puzzle itself is impossible once there are more than 2 balls (you need to use weigh more than once) I suspect it requires reflection, overloading, or some other workaround.
As described it's impossible. Given 3 balls, if two of them sum to 21 how do I know which was the heavier? Suspect I'm missing something from the description.
[deleted]
This is a maths puzzle and should be marked as such, or the appropriate calculus provided