Minimum Operations to Convert Tree to Perfect Tree
CodingSnowflakeLast reported March 2025Low Frequency
Reported
1× across candidate reports
First seen
March 2025
Last reported
March 2025
Reported outcome
fail
Problem Overview
Snowflake coding question, reconstructed from 1 candidate report (March 2025). Tests: tree recursion and traversal. Candidates reported 1 follow-up. The write-up includes a Python solution that passes 8 test cases.
1 candidate-reported follow-up — the probes candidates report being asked, with the trigger for each
The full problem statement — full requirements, constraints, and edge cases
Approach and trade-offs — what passing candidates did, and the mistakes that sink people
Unlock the full Snowflake catalog
Full problem statements, candidate-reported follow-ups, and walkthroughs — for every Snowflake question.