Pregunta de entrevista de Amazon

Data structures and concepts along with optimization