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.
string to int on return
That's not going to happen.
Kata description says
There is nobody above floor 4 so the lift won't keep going up...
[0]
[0,2]
[0,2,4]
[0,2,4,2]
... etc
This is not the proper way to raise an issue, and this is most likely not an issue (= a bug in the kata). If really you get different results in your IDE and here, there can be a difference between Java versions, or there is some bug in Java (I seriously doubt it), all o whiwh which CodeWars is obviously not responsible. Please read carefully the documentation: https://docs.codewars.com/training/troubleshooting/
Random test #10: 'pong-ping-pong-ping-boof-bink-doof-ping-smak-bong-ping-pong-ping-pong-ping-pong-ping-pong-ping-pong-flap-funk'. Expected = ping
Wrong.
Kata is correct, because:
Since final scores are even, "ping" wins because "pong" had the last bad shot.
Your solution is not working if it fails some tests. You should read the description carefully again, there are some important details you may be missing.