Google
More Experiences
Number of Islands - Google L4 Interview Question
May 4, 2025 • 4 reads
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)
Q1
Number of Islands in Binary Tree
Data Structures & Algorithms
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