Find the 2nd Largest Element with Minimum Comparisons
Find the 2nd Largest Element with Minimum Comparisons: a task in Terminal-Lego-15k (Harbor dataset). Implement an algorithm to find the 2nd largest element in an array using the minimum number of comparisons .
The task
Implement an algorithm to find the 2nd largest element in an array using the **minimum number of comparisons**.
Part of PrimeIntellect/Terminal-Lego-15k.