Panda Guru LogoPanda
Guru

Google Phone Screen - A well deserved rejection

Round 1

Questions: Got the same question as this LeetCode Discussion.

Candidate's Approach

I gave a horrible approach of maintaining the connected nodes left, right, children even though the interviewer gave a pointer that "do you really need to do this". I wasn't able to come up with a single tree traversal approach before I wrote the code. Once I was done writing the code, I gave the traversal approach but there was no time to write the code.

Interviewer's Feedback

No feedback provided.