Scene 10 of
Data Structures in
Core Technical Interview Questions for Software Engineers
By Amin Ariana
Given that a tree is made of only red or black nodes, return another tree that only has the paths of the original tree leading to a red node.
Ankur from Google