You are viewing a single comment's thread. Return to all comments →
the pair means index of a node's left child and right child, from the pair list we can build the tree, pair list appears in level traverse order.
Seems like cookies are disabled on this browser, please enable them to open this website
Swap Nodes
You are viewing a single comment's thread. Return to all comments →
the pair means index of a node's left child and right child, from the pair list we can build the tree, pair list appears in level traverse order.