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.
Should've not spend as much time as I did on this problem, naming the parameter 'arr' confused me.
Don't do drugs kids.
Reg is too OP, nice work
Once again, the task condition: "if true, you can half the swimming speed of the shark"
A simple example: a shark will swim 6 km at a speed of 6 km/h in 1 hour, at a speed of 3 km/h - in 2 hours...
This comment is hidden because it contains spoiler information about the solution
I think the instructions should give the variables in the same order as listed in the function.
You code is still incorrect. You need to debug your solution. If you don't know where to start, you may find some helpful tips there: https://docs.codewars.com/training/troubleshooting/
I have tried using "return" instead of "console.log" I still happend to recieved "undefined", would it be something else in my code?
You're a bit faster than the shark (3m/s vs 2m/s), but you're also much further away from the pontoon than it is (31m away vs. 13m away), which means it will get to the pontoon first and you will be eaten if you try to get past it.
This comment is hidden because it contains spoiler information about the solution
My brain hurts now.