Given an array with all distinct elements, find the largest three elements with O(n) time and O(1) extra space.
Implement def largest_three(nums):. Return the three values in descending order. The input contains at least three distinct integers, and the original array must not be sorted or copied.
def largest_three(nums):