Maximize Distance to Closest Person (LeetCode 849)
You are given an array seats where seats[i] = 1 means seat i is occupied and seats[i] = 0 means it is empty. There is at least one empty seat and at least one occupied seat.
Check more interview questions and experiences about Roblox
