Arista Networks Interview Question

Sum up all elements in a binary tree