Ayush7-BIT / turbo-robot

"A collection of essential coding algorithms and popular code solutions. Optimized for interviews and competitive programming, covering a wide range of topics from sorting to dynamic programming.”
26 stars 287 forks source link

Facing sun in c++ #302

Open kshitigambhir opened 2 weeks ago

kshitigambhir commented 2 weeks ago

Given an array representing heights of buildings. The array has buildings from left to right as shown in below diagram, count number of buildings facing the sunset. @Ayush7-BIT pls assign

arkodasgupta0412 commented 2 weeks ago

can you please elaborate this question more? It would be helpful if you provide some test cases

arkodasgupta0412 commented 2 weeks ago

I seached this problem and found it in geeksforgeeks. Now, I have understood the problem. @Ayush7-BIT please assign me this issue.