The Snowflake technical screen consisted of two back-to-back rounds: one coding interview and one system design interview. The coding round focused on modifying an N-ary tree and reasoning about its height, with a follow-up asking for the minimum number of deletions required to keep the tree within a height limit.
The system design round was a standard web crawler problem.
Interview Details
Round 1 — Coding: Delete Nodes from an N-ary Tree
You are given an N-ary tree. When a node is deleted, its children are not removed with it. Instead, those children are reattached directly to the deleted node’s parent. The first task was to perform the requested node deletion and determine the height of the resulting tree.
For example, if a structure is conceptually:
A
/ | \
B C D
/ \
E F
A
/ | \
B C D
/ \
E F
and C is deleted, its children E and F should become direct children of
Unlock Full Details
Create a free account to unlock this interview experience report.