NeetCode All · Tree Path Value Accumulation
Carry a running value down (or aggregate a value up) a root-to-leaf or arbitrary path during DFS.
Sheet Problems: 5
Category: Trees
Featured Problems (5)
Explore More Patterns in NeetCode All
Track your progress across all 973 problems in this curriculum roadmap.