Nagarro Interview Question

1) Find 2nd maximum element from Array.