描述:n 个人排成一列,heights[i] 为第 i 个人的高度(互不相同)。第 i 个人能「看到」右侧第 j 个人的条件是:i < j 且两人之间所有人都比他们矮。返回 answer[i] 为第 i 个人在右侧能看到的人数。
- 子节点i的父节点: (i-1)/2
,更多细节参见safew官方版本下载
"Space regulations don't cover the new problems emerging - interference with astronomical observations, risk of collision in orbit, risk of stuff falling on our heads, and now it is becoming clear, atmospheric pollution," says Andy Lawrence, Professor of Astronomy at the University of Edinburgh.
[단독]폴란드, 韓 해군 최초 잠수함 ‘장보고함’ 무상 양도 안받기로