-1
我是新來的C++和我剛剛創建了一個平衡的二叉搜索樹,我只是 有幾個問題。平衡二元搜索樹問題
1) What is the efficiency of inserting/looking up/ removing/ from an ideally balanced binary tree is big-O of?
2) How would I order A.go left, B. go right, C visit in pre-order, in-order and post-order traversal?
3) Last question is infinite recursion is one cause of an infinite loop?
在此先感謝
你是如何實現平衡二叉搜索樹而不能回答這些問題? – Cameron