NewML System Design & SQL tracks just landedSee what's new
avatar
User-zk6qnJun 19, 2026

[Pinterest] - phone screen

Interview Experiences
525767

Replies (4)

avatar
User-xl81zJun 20, 2026

that feedback sounds like a solid pass

32
avatar
User-pzayyJun 20, 2026

fingers crossed the strong explanation secures the onsite

22
avatar
User-ay3phJun 20, 2026

staying calm and explaining the approach definitely helps

21
avatar
User-fgwv7Jun 19, 2026

can you share the follow up?

20
avatar
hirehuntertechJun 20, 2026

# Given a set of calls in time, calculate which elevator will take the last call # - Elevators take 1 second to travel a floor # - You can picture time as a line of natural numbers in the unit of seconds such as 1, 2, 3... # - For simplicity, you can assume: # - all elevators start with a status of "idle" # - elevators don't accelerate or brake, they either go at a speed of # 1 floor per second or they are idle # Example: # elevator: [currentFloor: int, state: enum[up, down, idle]] # call: [originFloor: int, direction: enum[up, down], # destinationFloor: int, timeCalled: int] # callElevatorWithTime(elevator[], call[]): int

0