Array
3531. Count Covered Buildings
Given building coordinates on a grid. A building is "covered" if its row has a building to the left AND right, and its column has a building above AND below. Find the number of covered buildings.
Loading…
Given building coordinates on a grid. A building is "covered" if its row has a building to the left AND right, and its column has a building above AND below. Find the number of covered buildings.
Loading…