Pregunta de entrevista de Amazon

leet code like questions with different data structures