Halloween Sale
Unlock all premium questions for over 30% off
Fit All Saved Rectangles in a Box
Medium
Question
A stream of rectangle operations arrives, and you handle them from left to right. Some operations save a rectangle; others ask a yes/no question about whether a box is large enough for everything saved so far. ...
Asked at:eBay
More eBay interview questions
- Convert Snake Case to Lower Camel Casemedium
- Max Matrix Frame Distinct Summedium
- Count and Flip Binary Requestsmedium
- Single Bubble Explosionmedium
- Obstacle Placement and Block Queriesmedium
- Find Matching Word Skeletonseasy
- Group Chat Mention Trackereasy
- Assign Random Ads to Positionsmedium
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.