Find the second most frequent character in a string.
MediumProblem Statement
Find the second most frequent character in a string.
Sample Input
success
Sample Output
c
Limits
Time: 2s · Memory: 256 MB
Find the second most frequent character in a string.
success
c
Time: 2s · Memory: 256 MB