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.
Great Kata, had fun with it, agree that probably needs performance test
I really enjoyed this kata, thanks!
'
You are correct i was reading it wrong, now test are passing, thanks!
Still , the description should have an example on odd array
testing for [59,71,9,100,8]
expected [ [ 59, 71, 9, 100, 8 ], [ 8, 71, 100 ], [ 71 ] ]
to equal [ [ 59, 71, 9, 100, 8 ], [ 8, 71, 100 ], [ 100, 71 ], [ 100 ] ]
I don't fully get it, according to the description
'If the number of contestants is odd, the last one of the current array becomes the first of the next round.'
So after the first round we end up with [ 8, 71, 100 ] which is odd, so the calculation should be for 8 && 71 , moving 100 to the next round
But your test shows in the next round only [ 71 ] instead [ 100, 71 ], and later the answer [ 100 ].
Also description should have an example with odd array
,
Javascript test cases need's to check for column winners, my solution passes withouth check it , despites than that, great kata!