← Amazon questions
CodingMedium

Max distance seat placement

Filed under Amazon

You are given an array of integers representing seats where 0 represents an empty seat and 1 represents an occupied seat. For a new person entering, find the maximum possible distance to the closest…

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 Amazon questions

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