Also reported as Tree Height After Node Deletion · Minimum Deletions to Cap Tree Depth
Snowflake phone-screen question, reconstructed from 11 candidate reports (March 2025 to September 2026). Tests: tree recursion and traversal. Candidates reported 2 follow-ups. The write-up includes a Python solution that passes 10 test cases.