Panda Guru LogoPanda
Guru

Google | Phone screen Round

Phone Screen Round

Questions: Given a binary tree of zeros and ones, your task is to find the number of ilands in the binary tree. The iland is defined as the group ones in the tree.

Candidate's Approach

I approached a graph solution. My code was correct but I could have elaborated the solution even better; due to nervousness, I lagged a bit.

Interviewer's Feedback

No feedback provided.