Deskera interview question

Techgig Coding Assignments ( Find leader elements in an array)