Select the Nearest Eligible Elevator

Read the full interview experience this question came from →

Quick Overview

Select the nearest elevator eligible for a passenger based on current floor, movement state, and requested direction. Specify same-floor behavior, idle cars, deterministic tie breaking, empty input, and what extra trip information a time-ordered simulation would require.

Select the Nearest Eligible Elevator

Company: Pinterest

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Overview: Select the nearest elevator eligible for a passenger based on current floor, movement state, and requested direction. Specify same-floor behavior, idle cars, deterministic tie breaking, empty input, and what extra trip information a time-ordered simulation would require.

Read the full Pinterest Software Engineer interview experience this question came from

|Home/Coding & Algorithms/Pinterest
Pinterest logo
Pinterest
May 12, 2026
mediumSoftware EngineerTechnical ScreenCoding & Algorithms
29
0
Loading...

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...