Vanguard Interview Question

Max Occurring Character in String

Interview Answer

Anonymous

Aug 28, 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