Number of Islands - Google L4 Interview Question
Summary
During a Google L4 interview, I was presented with a variation of the 'Number of Islands' problem, adapted for a binary tree structure.
Full Experience
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
Interview Questions (1)
Number of Islands in Binary Tree
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