Snowflake logoSnowflake
Coding·60 minMembers

Tree Node Deletion → Max Height

Members only

Given an N-ary tree and a set of deleted nodes, compute the maximum height after deletion, with descendants promoted past deleted ancestors. The canonical follow-up asks for the minimum deletions need...

SWE
tree
dfs
recursion
dp
medium
Frequency
Medium
Last asked
2026-09-17
Stage
phone-screen · onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...