Binary Tree Paths
Easy
Binary Trees
Print all root-to-leaf paths as strings with nodes joined by '->', one per line, from left to right.
Constraints
1 <= number of nodes <= 100
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.