← Google questions
CodingReported in a candidate post, Apr 2024

Queue Door Implementation

Filed under Google

Implement a door controller for two queues (Enter and Exit). At even seconds, 'Enter' can proceed; at odd seconds, 'Exit' can proceed. If both are ready at t=1, 'Exit' has priority. If the last person…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Google questions

Collected from public candidate posts and coding forums. Updated Nov 2026.