Pregunta de entrevista de Aptiv

Some random coding and planning problems.