Pregunta de entrevista de IBM

Test coding question/logic and question Reading code