Software Engineer • Senior-Level
Software Engineer • Senior-Level
High QualityPractice Other Questions that Pinterest Asked
Continue with targeted prep from Pinterest's coding question bank and system design questions.
Interview Summary
The Pinterest process started with an elevator-dispatch coding screen and continued with five onsite rounds covering two coding problems, two system design questions, and behavioral interviewing.
Interview Details
Phone Screen — Elevator Dispatch
The phone screen used a classic elevator scheduling problem. In the first version, there are n elevators and every elevator initially starts on floor 1. A sequence of elevator calls arrives one at a time. Each call finishes completely before the next call begins.
For each request, the system must determine which elevator should serve it. The final task is to return the elevator selected for the last request in the sequence.
The follow-up made the problem more realistic. The elevators can now start at arbitrary positions, and a new request may arrive while some elevators are still serving previous requests.
When each new call arrives, the system must first update the current state of every elevator based on elapsed time, then determine which elevator should handle the new request. The task still asks which elevator ultimately receives the
Unlock Full Details
Create a free account to unlock this interview experience report.