Data Structure and Algorithms
Introduction
Data Structure
Array
Linked Lists
Node Implementation
XOR Linked List
Storage Pool
Generalized List
Stacks & Queues
Stacks
Queues
Tree
Stackless Traversal
Searching
Linear Search
Binary Search
Fibonacci Search
Interpolation Search
Hashing
Asymptotic Analysis
Amortized Cost Analysis
Dynamic Programming
Matrix-chain Multiplication
Exponential Problems
Prime Problems
Recursion
Ackermann's Function
Combination
Recurrence Relations
Divide and Conquer
Powered by
GitBook
Divide and Conquer
Divide and Conquer
can be used to analyze the complexity of divide-and-conquer methods.
可以代表 divide 跟 combine 所花費的時間。
有兩種序,就有機會還原出唯一一棵二元樹。比方說,只知道 preorder 和 inorder ,求出原本的二元樹。
應用
在 Tree traversal 中,只知道 preorder 和 inorder ,要求出原本的二元樹。(參考
DS/Tree
)
results matching "
"
No results matching "
"