Pregunta de entrevista de Unity

General algorithm, software engineering questions.