DIY: Queue Reconstruction by Height
Solve the interview question "Queue Reconstruction by Height" in this lesson.
We'll cover the following...
Problem statement
In this problem, you are given an array of people
, which has the attributes of a few people in a queue. Here, each people[i]
= [hi, ki]
, where the ...
Access this course and 1400+ top-rated courses and projects.