Optum Interview Question

resume based array ques: to print the second largest element of the array