Software Engineer • Junior-Level
Software Engineer • Junior-Level
High QualityPractice Other Questions that Google Asked
Continue with targeted prep from Google's coding question bank and system design questions.
Interview Summary
The interviews focused on algorithmic coding problems, including binary tree manipulation, tree traversal, lowest common ancestors, mountain arrays, and probability-based dynamic programming
Interview Details
Round 1 — Binary Trees: Delete Nodes and Level Order Traversal
The first problem was based on LeetCode 1110, Delete Nodes and Return Forest. Given the root of a binary tree and a collection of node values to delete, remove the specified nodes from the tree. After deletion, the original tree may split into multiple disconnected trees. The task is to return the roots of the resulting forest.
The second problem involved bottom-up level order traversal of a binary tree. Given the root of a binary tree, return its node values grouped by depth, starting from the deepest level and progressing toward the root. Within each level, nodes should appear from left to right.
Unlock Full Details
Create a free account to unlock this interview experience report.