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.
This comment is hidden because it contains spoiler information about the solution
when you used to be a translator, and your work was paid according to word count in translation tools.
If the two fighters do not have the same health/attack ratio, bigger ratio is sure to win.
But if both ratios are the same, they would lose in the same round : first attacker wins.
This comment is hidden because it contains spoiler information about the solution
Because you are modifying data here "data[i+1] = data[i];" and the original data should be unchanged
var totalBusIn, totalBusOut = 0;
totalBusIn is undefined there, and that's the reason your code failed.
Not a kata issue.
This comment is hidden because it contains spoiler information about the solution