Count no. of connected components in N * N matrix (N <= 1e9)
Разница между en1 и en2,
10 символ(ов) изменены
Given an N * N matrix consisting of k ones and the rest are 0s.Count the number of connected components that only contains only zeros↵ ↵ N <= 1e9↵ ↵ K <= 1e5↵ ↵ Thanks!