Google interview question

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

Interview Answer

Anonymous

4 Nov 2018

Hint: change the structure of the tree