Yandex interview question

Find 3 largest numbers in an array. O(n) Time Complexity

Interview Answer

Anonymous

1 Jun 2024

3 variables and shifting them when another largest is found