Nimap infotech Interview Question

Missing Number ,Second maximum,Patterns Problem