Pregunta de entrevista de IT By Design

And basic condition based questions.