Tree Levels After Node Deletions II
CodingPhone, OnsiteSoftware EngineerReported Jul, 2026High Frequency
Company question banks are included with the Insider plan.
You are given the root of a binary tree where each node value is a unique node ID, and an integer targetHeight.
Deletion rule: