- Published on
Google L3 Onsite
- Author
- Shared Anonymously
I had my google interviews in May. Preliminary round had simple array based questions with 3 follow-ups leading to a standard sliding window question. On receving positive feedback on the results I gave the onsite rounds.
Onsite 1:
Gives a list of dicts carrying key-value pairs along with a parent of treenodes, build a tree with references to children nodes. No follow-ups.
Onsite 2:
https://leetcode.com/problems/smallest-rectangle-enclosing-black-pixels/description/
Follow-up with solution in case the input was a 3D grid, instead of a 2D grid.
Onsite 3:
Variation of https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown/description/
Follow-up:
https://leetcode.com/discuss/interview-question/4947290/google-phone-maximum-total-score