Pregunta de entrevista de Palantir Technologies

OA - Data Structure and Algorithm problem