Placement experts
Best CRT Online Coaching 2026 by BrainWiz
Hyderabad's trusted institute for Campus Recruitment Training, AMCAT and company test series since 2015.
11+Years of training
50,000+Students trained
9Programs
12Company mock tests
Binary Tree Pruning
Given the root of a Binary Tree which contains only 0's and 1's as its node values, prune the nodes which don't contain 1 in either of its subtrees.
Watch video