Pregunta de entrevista de ThousandEyes

on both occasions they were algorithmic problems