Find the Runner-Up Score!

  • + 31 comments

    Hi, I believe this code is correct only in the cases where the max number apears only once in the input.

    Considering the following input [1, 2, 2] it would return 2 whereas it should return 1.