7 2 2 3
root . left . right = getNode ( 2 ) NEW_LINE root . right . left = getNode ( 2 ) NEW_LINE root . right . right = getNode ( 3 ) NEW_LINE x = 2 NEW_LINE print ( " Sum ▁ = ▁ " , SumOfParentOfXUtil ( root , x ) ) NEW_LINE