Pregunta de entrevista de Nimap infotech

Missing Number ,Second maximum,Patterns Problem