programming_thoughts Programing Thoughts 1: divide and solve Break the problem into smaller sub-problems. For instance: Data Structure Linked Table Tree Graph Algorithm Recursion Sort Search Backtrack Dynamic programm 2023-10-12
hello algorithm chapter 2 / Iteration and recursion Q: what is complexity? A: 函数的操作数量与输入数据大小的数学关系。 例如,单循环函数的操作数量和输入操作数成正比,或者说成“线性关系”,单循环函数的复杂度就是 \(O(1)\)。 2023-10-12 hello algorithm