Pregunta de entrevista de Tatvasoft

oops questions and patterns questions.