← Questions
All root-to-leaf path sums
0
I was asked this
No reports yet. Sign in to say where you were asked it.
Return a list with the sum of the values along every root-to-leaf path of a binary tree, one entry per leaf, in left-to-right order.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding
