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

Pinterest logo
Pinterest
May 12, 2026
mediumSoftware EngineerTechnical ScreenCoding & Algorithms
47
0
Practice
Loading...