All root-to-leaf path sums

0
Remix

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.

MetaCodingLast asked Dec 2025
No answer yet. Write the first one; the best answer gets endorsed.