Given a binary tree, with node values 0 and 1. Find the total number of islands in it. Same as this question, where need to find islands in matrix
Comments (7)
Given a binary tree, with node values 0 and 1. Find the total number of islands in it. Same as this question, where need to find islands in matrix