Persistent Systems Interview Question

Find the leaders in an array?

Interview Answer

Anonymous

Apr 8, 2024

Iterate from left to right of array and find all the numbers that are greater than its preceeding numbers