Tournament Runner-Up

Medium
#lists #sorting

Input: `arr` (list) of scores. Return: The second largest score.

Example

Input: 1, 2, 3
Output: 2
Need a hint?
  • Sort unique elements and take second last
Run your code to see output