Had my first onsite with Google today after multiple reschedules from their end. And to my luck, I got asked an N-ary tree problem.
Now, I’ve seen posts where people mentioned N-ary trees showing up in Google interviews, but I consciously skipped preparing for them. I mean, what are the chances, right? Well… 100% in my case. 💀
I bombed the question could solve but with lots of bugs. It was bad.
Anyway, gotta move on Round 2 is tomorrow. Have to start with Tries and Segment Trees before I get humbled again. 😂
Moral of the story: you get it right?
Learn from my mistake.
Let’s go! 🚀