Find the second largest number in a list.
EasyProblem Statement
Find the second largest number in a list.
Sample Input
[4, 3, 1, 2]
Sample Output
3
Limits
Time: 2s · Memory: 256 MB
Find the second largest number in a list.
[4, 3, 1, 2]
3
Time: 2s · Memory: 256 MB