Pregunta de entrevista de Intel Corporation

Coding some puzzles and behavioral round was unexpected