HUB International Interview Question

Write a recursive method to traverse a tree data structure and find the sum of all elements