Input Format The first argument is an integer array A.
Output Format Return the second largest element. If no such element exist then return -1.
Input Format The first argument is an integer array A.
Output Format Return the second largest element. If no such element exist then return -1.