Ad
  • Custom User Avatar

    Great Kata, had fun with it, agree that probably needs performance test

  • Custom User Avatar

    I really enjoyed this kata, thanks!

  • Custom User Avatar
  • Custom User Avatar

    You are correct i was reading it wrong, now test are passing, thanks!

    Still , the description should have an example on odd array

  • Custom User Avatar

    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

  • Custom User Avatar
  • Custom User Avatar

    Javascript test cases need's to check for column winners, my solution passes withouth check it , despites than that, great kata!