Intervals & Custom Sorting
Intervals come up more at Pinterest than the topic's reputation would suggest. A Premium question and its harder cousins land in phone screens. One onsite turned up a restaurant-seating capacity twist: find every window that can seat N guests given reservations and a room size. And the most-viewed Pinterest thread anyone has shared is a masonry-grid problem called "a Premium question." None of it is exotic. It is the same a Premium question, Insert Interval, Non-overlapping Intervals, My Calendar family you would drill for anywhere, in board-and-feed framing.
So treat this lesson as pattern reps, not as a Pinterest secret. The payoff is that two templates cover nearly every interval prompt you will see, and a third skill, writing a custom comparator and trusting it, quietly decides half of them. Get those three reflexes solid and the product framing stops mattering, because once you strip the Pin language off "a Premium question" you are looking at greedy interval scheduling and nothing more.
- 3 problems, worked step by step
- about 22 min
Premium lessonPinterest interview guide
These took digging.
What candidates walked out with, from 20,000+ reports, forum threads behind logins and write-ups in Chinese. Then solved step by step.
100 companies. Checked every month.
Unlock all 100 companies$49 a year · less than $1 a week · Cancel anytime
Pinterest interview guideKnow what Pinterest asks before you walk in.
14 coding · 5 system design · 16 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.