406. Queue Reconstruction by Height (Medium)