Appearance
Divide and Conquer and Running Time analysis
Karatsuba Integer Multiplication
对于两个
其中
注意到在分治之后的式子中,如果继续朴素地计算
我们注意到在结果中,我们只需要
Divide it !
There are some better algorithms

The last three algorithms are based on FFT
Matrix Multiplication Optimization
该算法在信息论上可被证明是时间复杂度最低的分治算法
Time Complexity Analysis
what are the unit-time operation for the computer?
Word RAM model: 能放在RAM中的数据,都可以视为unit-time word
- Read/write a word
- Arithmetic operations on words
- Comparison of words
Big O Notation
if
Big Notation
if
Big Notation
if
[!TIHINKING] 是否存在两个关于n的函数f和g使得
,且 ? 只要f交错震荡穿过g即可
little o notation
little notation
Divide and Conquer
Merge sort as an example