Find Suitable Locations

Asked at Microsoft · Coding Questions · Difficulty: Medium

Count the empty plots in a grid from which every house lies within a given grid distance, so that a new store built there is close to all of them.

Loading the problem…