/*Given an array of integers, find all the leaders in the array. An element is called a leader if it is greater than all elements to its right. The last element is always a leader.
The Java ecosystem has historically been blessed with great IDEs to work with, including NetBeans, Eclipse and IntelliJ from JetBrains. However, in recent years Microsoft's Visual Studio Code editor ...