Path Sum II
Medium
Tree Traversals (Advanced)
Print every root-to-leaf path whose node values add up to the target sum, one path per line, listing paths from left to right.
Constraints
0 <= number of nodes <= 5000 -1000 <= value <= 1000
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.