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.
WoW! use Reg to solve this kata. cool
this solution gonna return null if the str is empty, but the expected is[]
I am confused with the same problem. can someone help to explain?
ATTENTION: sharkDistance is already the distance between shark to pontoon. Maybe specify that so people dont waste time ASSUMING that its between shark and human.
Testing for 49 and 161 and 3 and 10 and false, my result is alive,because 161/(10-3) > 49/3. But the auto testing gives the result is "Shark Bait!".
8/0.5 > 10/3 so I thought you are right.