to ensure bottom up order , first call for right subtree , then print this node
printBoundaryRight ( root . right ) NEW_LINE print ( root . data ) NEW_LINE elif ( root . left ) : NEW_LINE printBoundaryRight ( root . left ) NEW_LINE print ( root . data ) NEW_LINE