Algorithm中序遍历的前驱后继结点算法

#187 · open · 1 comments

View on GitHub ↗

weihanlu

![20190322094027](https://user-images.githubusercontent.com/32050411/54795394-02a25600-4c87-11e9-8906-634f03067c82.png) 前驱结点此处或许应为 `parent.right!==node` 或 `parent.left===node` 同理后继结点算法也有类似问题

Comments

ljscode

后面while(node)好像也有问题?