Google | Phone Screen | Number of Islands in a Tree
Anonymous User
5752

Company: Google
Stage: Phone Screen
Date:13/01/2025

Given a Binary tree having nodes with value 0 and 1. write a function to return the number of islands ?

Follow Up Questions-

Return the sizes of unique islands

Comments (23)