關於實現紅黑樹的一些總結

https://github.com/rsy56640/rsy_little_lib/tree/master/library_for_algorithm/RB_Tree 一開始是打算照着 STL 寫的,結果發現一個尷尬的情況: 沒有allocator,std_config.h,iterator,所以這個 RBTREE1 就擱置了。 後來 開始搞 RBTREE2 ,又碰到了一個很麻煩的問題。 STL
相關文章
相關標籤/搜索