Delta这个sb公司# Money - 海外理财
c*w
1 楼
这题怎么做啊??
You are given a n*n matrix of bits (1s and 0s) where 1 represents land and 0
represents water. Adjacent 1s can be considered as joined together to form
sort of island in water. Count the number of islands
You are given a n*n matrix of bits (1s and 0s) where 1 represents land and 0
represents water. Adjacent 1s can be considered as joined together to form
sort of island in water. Count the number of islands