Daily-Coding-DS-ALGO-Practice
Daily-Coding-DS-ALGO-Practice copied to clipboard
Facing the sun
Aim
Facing the sun
Details
Given an array H 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).
Programming language
- [ ] C
- [x] C++
- [ ] Java
- [ ] Python
Assign this issue to me, under LGM-SOC @Amit366 @ravikr126 @Ayush7614
Please assign me as I am a Participant of LGMSOC21.
pls assign this issue to me under LGM-SoC'21 @ravikr126 @sameeksharl
Please assign me as I am a Participant of LGMSOC21. i can do this in O(1) time comlexity in c++, java,javascript