Swabhav interview question

Print leader element in array