Number of Islands - Google L4 Interview Question

google logo
google
May 4, 20254 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

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

Be the first to share your thoughts and start the discussion!