Answers for "Find the Runner-Up Score! hackerrank solution python"

1

runner up score hackerrank solution

from collections import Counter
if __name__ == '__main__':
    n = int(raw_input())
    arr = Counter(map(int, raw_input().split())).keys()
    arr.sort()
    print arr[-2]
Posted by: Guest on August-18-2020

Code answers related to "Find the Runner-Up Score! hackerrank solution python"

Browse Popular Code Answers by Language