Liam0205 / liam0205.github.io

Deployment of my weblog.
https://liam0205.github.io
35 stars 5 forks source link

从前序遍历结果中重建二叉搜索树 | 始终 #306

Open Liam0205 opened 5 years ago

Liam0205 commented 5 years ago

https://liam.page/2019/08/29/rebuild-a-binary-search-tree-from-its-preorder-traversal-result/

今天遇到一个有趣的问题:已知有一个无重复元素的二叉搜索树的前序遍历结果,要求重建该二叉搜索树。

feipeng123s commented 2 months ago