Search
⌘K

Leetcode 1267. Count Servers that Communicate

Given an m×n binary grid where 1s are servers, count how many servers have at least one other server in the same row or the same column. (m,n ≤ 250)


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.