Pregunta de entrevista de Mirraw

Some coding exercise online which was common for all