Domanda di colloquio di Vanguard

Max Occurring Character in String

Risposta di colloquio

Anonimo

28 ago 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