Pregunta de entrevista de JPMorganChase

Basic data structures and algorithm coding questions.