Facing The Sun
Given an array ht representing heights of buildings. You have to count the buildings which will see the sunrise (Assume : Sun rise on the side of array starting point).
1 <= N <= 10^6 1 <= H[i] <= 10^8
Input is managed for you
Output is managed for you
5 7 4 8 2 9