Ad
  • Default User Avatar

    megaultrastrong πŸ’ͺπŸ’ͺπŸ’ͺπŸ’ͺπŸ’ͺπŸ’ͺπŸ’ͺπŸ’ͺ

  • Default User Avatar
  • Default User Avatar

    I realized that Abelt and Reinhard are eliminated after the second round and Brian and Frank are removed after the first round, but in the third round, 2 votes for Lex and 1 for Drake, so why is it a draw?

  • Default User Avatar

    Yes, but anyway in the third round 5:4 Lex/Drake

  • Default User Avatar
    [   ['Abelt Dessler', 'Reinhard von Musel', 'Lex Luthor', 'Drake Luft', 'Brian J. Mason', 'Frank Underwood'],
        ['Drake Luft', 'Lex Luthor', 'Frank Underwood', 'Brian J. Mason', 'Reinhard von Musel', 'Abelt Dessler'],
        ['Drake Luft', 'Reinhard von Musel', 'Lex Luthor', 'Frank Underwood', 'Brian J. Mason', 'Abelt Dessler'],
        ['Lex Luthor', 'Drake Luft', 'Frank Underwood', 'Brian J. Mason', 'Reinhard von Musel', 'Abelt Dessler'],
        ['Reinhard von Musel', 'Abelt Dessler', 'Drake Luft', 'Lex Luthor', 'Frank Underwood', 'Brian J. Mason'],
        ['Lex Luthor', 'Brian J. Mason', 'Frank Underwood', 'Abelt Dessler', 'Drake Luft', 'Reinhard von Musel']  ]

    It should work for random inputs too - Expected: undefined, instead got: 'Lex Luthor'

    in the first round 2:2 between Lex and Drake, then 1:1 between them in the second, and in the third 2:1 in favor of Lex, why should there be a draw? Most likely I didn't understand the condition. help please.

  • Default User Avatar

    hm. That's true.

  • Default User Avatar

    I don't think this is an Issue, since the solution to any kata can be found on the Internet.

  • Default User Avatar

    Super cool kata. Quite an interesting and unusual idea, I think few people have come up with such a good idea yet. The author is well done.