Domanda di colloquio di MarketAxess

Degree of an Array (Leetcode)

Risposta di colloquio

Anonimo

2 set 2021

Used HashMaps to track start index, last index, frequency and a map of frequency to a list of items with that frequency. Used maps to figure out highest frequency and shortest path