DianApps Interview Question

2nd largest element of array