TikTok Interview Question

sum up the nodes in binary tree.