Dynamic programming question

前端 未结 5 779
北海茫月
北海茫月 2021-02-02 02:55

A circus is designing a tower routine consisting of people standing atop one another’s shoulders. For practical and aesthetic reasons, each person must be both shorter and light

5条回答
  •  -上瘾入骨i
    2021-02-02 03:05

    It doesn't make any difference. And it is unnecessary to pre-sort as you end up with the same graph to search.

提交回复
热议问题