Birdeye interview question

Find leader of a array