Appian Interview Question

Q: Summing nodes of a binary tree