Google Interview Question

Sum of leaf nodes of a binary tree without using recursion or stack space. (Constant space solution)

Interview Answer

Anonymous

Nov 4, 2018

Hint: change the structure of the tree