Pentaloop interview question

How to find second largest element in an array?