1p3a Question · Dec 2025

Snowflake Intern Technical Interview Algorithm Tree Height Problem

SWE Technical Intern

Question Details

Got this problem in Snowflake interview: Given a graph of height >= k rooted at node = 0, return the minimum set of nodes to delete (not count) such that the resulting tree has height of at most

Full Details

🔒

Unlock all Snowflake questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a snowflake interview for a swe role (intern level) during the technical round reported in 2025.

It covers the following topics: Binary Tree, Graph, Greedy .