Sollicitatievraag bij Vanguard

Max Occurring Character in String

Antwoord op sollicitatievraag

Anoniem

28 aug 2021

Loop through the string and populate a map to count characters. Vagueness is instruction led to initial deception that we were supposed to return first encountered max to break ties, not ordered by ASCII