Pregunta de entrevista de Accenture

some techincal question, and data and algorithm