Nextuple Interview Question

Find the character in a string whose frequency is second largest