LeetCode Question · Jan 2022 · Los Angeles

Google | Phone Screen | Number of Islands in a Tree

35 upvotes 5,776 views 22 replies

Question Details

Company: Google Stage: Phone Screen Given a tree having nodes with value 0 and 1. write a function to return the number of islands ? Follow Up Questions: (Asked by me) 1. Are we...

Full Details

🔒

Unlock all Google questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a google interview for a swe role during the phone screen round reported in 2022.

It covers the following topics: Binary Tree, Graph, Linked List .