Explanation of eko problem

can you explain this question because in the question one example is given which if the tree row contains trees with heights of 20, 15, 10, and 17 metres, and Mirko raises his sawblade to 15 metres, the remaining tree heights after cutting will be 15, 15, 10, and 15 metres, respectively

here, the doubt comes we are reducing 15 metres from all the trees.
so, after cutting the remaining trees height would be in this fashion :-
5,0,0,2

hello @prashantrsj25
read this statement carefully.
if Mirko sets a height parameter H (in metres), and the machine raises a giant sawblade to that height and cuts off all tree parts higher than H (of course, trees not higher than H meters remain intact).

we are not reducing 15 unit ,we are cutting tree at a height of 15 , the portion above it will get cut and rest portion will remain intact

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.