Microsoft Interview Question

get the second largest element in an array