Ad
  • Custom User Avatar

    Yep, I got the same thing. Faulty test?

    [ [ 'a', 'c', 'b', 'd', 'e' ],
    [ 'd', 'c', 'a', 'b', 'e' ],
    [ 'e', 'b', 'd', 'a', 'c' ],
    [ 'e', 'a', 'b', 'c', 'd' ],
    [ 'b', 'c', 'e', 'a', 'd' ] ]

    a, d, and b are eliminated, and c moves up in each row:

    [ [ 'c', 'b', 'd', 'e' ],
    [ 'c', 'a', 'b', 'e' ],
    [ 'e', 'b', 'd', 'a', 'c' ],
    [ 'e', 'a', 'b', 'c', 'd' ],
    [ 'c', 'e', 'a', 'd' ] ]

    c now has > 50% of the votes, but the test fails with:

    Expected: e, instead got: c

  • Custom User Avatar

    Typo: "I would want you to want you to" s/b: "I would want you to"