Pregunta de entrevista de Sigma Technology

All technical questions are from here: https://open.kattis.com/