โ† Amazon questions

Social distancing evacuation

Filed under Amazon

Given a 2D grid representing people (1) and empty spaces (0), find the minimum number of people to remove such that no two people are adjacent (horizontally or vertically).

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.