Given an m x n grid representing a network of servers, where 1 represents a server and 0 represents empty space, determine how many servers can communicate.
Two servers are able to communicate if they are located in the same row or in the same column. Servers that are isolated in both their row and column cannot communicate.
Visualizer will appear here