I Problem
You are given an array of people, people
, which are the attributes of some people in a queue (not necessarily in order). Each people[i] = [hi, ki]
represents the iᵗʰ
person of height hi
with exactly ki
other people in front who have a height greater than or equal to hi
.
About 2 min