InterviewDB Question

Pinterest SWE Phone - Tree Pruning in a Forest

Question Details

Problem Prune trees in a forest by removing subtrees that contain no target values. Likely LeetCode equivalent LC 814 - binary-tree-pruning Tags binary_tree, recursion

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Onsite Phone