issues
search
Alice52
/
algorithms
This repository is for learning Algorithms.
https://programmercarl.com/
0
stars
0
forks
source link
[daily] 2021-09-03
#165
Closed
Alice52
closed
3 years ago
Alice52
commented
3 years ago
[x] issue 1
reference
discription
Pow(x, n)
core
快速幂, 注意 第二个参数 int_min 符号转换会报错{溢出了}
-2147483648 => 2147483648 {int_max[2147483647]} 就溢出了, 使用 long
[x] issue 2
reference
discription
全排列
core
回溯 + 全局结果变量
[x] issue 3
reference
discription
组合
core
回溯 + 组合 + (i, n]
[x] issue 4
reference
discription
组合总和
core
回溯 + 组合 + [startIndex, n] + path + presum + 剪枝
[x] issue 5
reference
discription
分割回文串
core
回溯 + 组合 + [startIndex+1, n] + path + 剪枝 有 startIndex 且不重复 i+1
reference
discription
core
reference
discription
core
core
core
core