3 ms·Yes, I think it is just recursively swapping the left and right branches of the tree.by pkaye 9y agoYes, I think it is just recursively swapping the left and right branches of the tree.