Available question text
Given a BST and a value V, partition the tree into two BSTs where one contains all nodes with values ≤ V and the other contains all nodes with values > V, preserving the original parent-child relationships. Use the BST ordering to decide splits efficiently (expected O(height) time).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Meta
Leetcode 776. Split BST
Reported Oct 1, 2026 · 1 source report
JUNIOR
Source snapshot: Nov 12, 2026
View source