Maximum Reach For each element

前端 未结 0 906
生来不讨喜
生来不讨喜 2021-01-22 04:07

You are given N building and the height for each Building is denoted by hi.

For each building calculate the max_reach for a building. To calculate the max_reach:

1

相关标签:
回答
  • 消灭零回复
提交回复
热议问题