Meta logoMeta
CodingMembers

Sum Root-to-Leaf Numbers

Members only

Solve the LC 129 prompt: treat each root-to-leaf sequence of digits as a number and return the sum of all such numbers. Follow-ups compare recursive and iterative traversal and ask what happens when t...

SWE
tree
tree-traversal
dfs
recursion
medium
Frequency
Single report
Last asked
2026-08-16
Stage
onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...