Pregunta de entrevista de DrFirst

Some JEE questions and Algorithm test.