Betsol Interview Question

1. Find second largest element using a single loop