Meta interview question

Given a binary tree, return the sums of each path (root to leaf node) in an array

Interview Answer

Anonymous

8 Mar 2020

DFS and a variable to sum all when reaches leaves