Number of Islands - Google L4 Interview Question

Posted
4 May 2025
431 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.

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)

  1. 01

    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

    Open the problem

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Google recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

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