Question d’entretien chez Zoho

Second maximum frequency element without using collections