Number of Islands - Google L4 Interview Question
- Posted
- 4 May 2025
Summary
During a Google L4 interview, I was presented with a variation of the 'Number of Islands' problem, adapted for a binary tree structure.
How it went
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
Questions asked (1)
- 01
Number of Islands in Binary Tree
Data Structures & Algorithms
Open the problemGiven 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