Pregunta de entrevista de Anonymous

first two rounds were on data structure and algorithm