Hi Everyone, I'm writing this post as I want to give back to the community, I have no hope of getting an offer because my onsite last round did not go as expected.
After completing the OA, I was invited to the virtual rounds
Virtual Round 1:
It was a question related to printing the messages based on the timestamps. You should not print a message if you've see it in the last 10 seconds. Leetcode should already have it.
self assessment: Hire
Virtual Round 2:
This was a googlyness round, nothing remarkable to say here. Just prepare your stories and tell them in the STAR format.
self assessment: Strong Hire
I was inviited to the Google Office to give the next 2 rounds.
Onsite Round 1:
This problem was closely related to Russian Dolls but was wrapped up in a story. I gave multiple approaches and coded the the O(N^2) solution. There were some follow ups to this question, what would happens if we can rotate the Dolls.
Self assessment: Hire/Strong Hire
Onsite Round 2:
Writing about this round is a painful flashback for me. It was a 2d knapsack kind of question, where I gave a O(N^3) solution. I kept trying to reduce the TC to O(N^2) soln. In the end, I wrote the code on the paper as the shared doc was not present.
I missed one of the edge case also while writing the code on the papere. Overall, it was a bad experience for me as I felt I could've answered it better if I just brainstormed on paper instead of whiteboard.
Question was closely relate to Knapsack.
Self assessment: LNH/NH
I didn't want to write this post initially because it is not a positive outcome for me. But then I realized that LC has given me so much guidance that it feels unfair if I don't pass on.
Advice to any future interviewees: practice DP a little more. I was strong in all the other areas while DP being my achilees heel. In the end my fate was such that I was asked DP in both of my onsites.
Feel free to drop any questions related to the interview process.


