排队问题 已知每个人的身高 h,他前面身高大于等于他的人数为 k,给这些人排队,求这些人的顺序. s ppose yo have a random list of people standing in a q e e. each person is described by a pair of integers (h, k), where h is the height of the person and k is the n mber of people in front of this person who have a height greater than or eq al to h. write an algorithm to reconstr ct the q e e. note: the n mber of people is less than 1,100. example inp t: [[7,0], [4,4], [7,1], [5,0], [6,1], [5,2 o tp t: [[5,0], [7,0], [5,2], [6,1], [4,4], [7,1 思路: 高个先排,后面逐渐插队,同样身高的先插前面的,每个人插队时,k就是要插入的位置的下标.