Free beta: free to use with daily limits while we build. Join the waitlist for founding-member pricing at launch. Join the waitlist

Sign up free

Oracle interview question

Low-level design of a traffic light controller with a pedestrian button

Company:
Oracle
Type:
System design
Difficulty:
Medium
Reported:
November 18, 2026

Problem

This is a low-level design round, not a large-scale distributed design.

Design a traffic control system in which pedestrians can push a button and the traffic lights change in response. The interviewer expects the behavior to be modeled as a state machine: identify the states, the events, and the transitions, then show the classes that implement them.

Concurrency is not the focus of this round.

Scope details such as the number of roads, the timing rules, and how repeated button presses behave are not given; clarify them with the interviewer before designing.

Reported by candidates or drawn from publicly available sources, and rewritten in our own words. Pathwise Prep does not publish confidential assessment content. Report a concern