Revert the changes made in the ' if ' part to restore the original tree i . e . , fix the right child of predecessor
else { pre . right = null ; System . out . print ( current . data + " ▁ " ) ; current = current . right ; } } } }