Given an array of distinct integers, find the second largest value in a single pass, without sorting.
Example 1
Explanation: 10 is the largest; 8 is the next highest distinct value.
Example 2
Example 3
Code execution is coming soon.