Halloween Sale
Unlock all premium questions for over 30% off
Distribute Ads Across Columns
Easy
Question
Picture a page of ads stacked into vertical columns. A column is as tall as all of its ads put together. Ad i is heights[i] units tall, and heights is an integer array.
...
Asked at:Pinterest
More Pinterest interview questions
- Find Unallocated Bucket ID Rangesmedium
- Single Bubble Explosionmedium
- Game Level Trackermedium
- Maximum Meeting Schedulemedium
- Playlist Song Connectionmedium
- Article Ranking Systemmedium
- Run Length Decode Allhard
- Timed Job Queuemedium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.