Pregunta de entrevista de Blackhawk Network

data structure and algorithm questions