Junior — Senior
Sum of leaf node values in a binary tree
livecode
Task condition
Implement a function that takes as an argument the root node of a binary tree, where each node stores an integer. The function should compute and return the sum of all values in the leaf nodes (nodes without children).