-
# 动态规划
动态规划的要点
- 复杂问题分解为简单子问题
- 分治+最优子结构
- 顺推形式:动态递推
动态规划 和 递归或者分治 没有本质上的区别(关键看有无最优子结构)
拥有共性:找到重复子问题
差异性:最优子结构、中途可以淘汰次优解
### 递归(函数自身调用)
```
public void recur(int level, int param) {
…
-
> 已更新 2019 版,详见 https://github.com/sorrycc/awesome-tools 。
经常被人问到我在用啥,所以记录下,以下是目前在用的软件和硬件。
由于这些经常会变,所以这篇文章也会做持续更新。
## 编辑器和 Terminal
我的编辑器是 Intellij Idea,内置功能很强大了,主要是省心,不必费精力去找插件等。然后也会辅助用 V…
-
Here's the outpu i get from the call of make:
`olaf@ubuntu:~/wink-relay-handler-master$ export ANDROID_NDK=/home/olaf/android-ndk-r16b
olaf@ubuntu:~/wink-relay-handler-master$ make
/home/olaf/and…
-
```
What steps will reproduce the problem?
I am using the GAPI Library with AuthSub using PHP curl.
What is the expected output? What do you see instead?
It does not return the real value of the tok…
-
Upon installation and clicking the application from the "Applications folder", I receive this error from Finder: You can’t open the application “Kap” because this application is not supported on this…
-
olyat tudsz, hogy csillagozott pontokon megjelenjen egy infobubble? azért lenne hasznos, mert van sok betűszavunk, ami magyarázatot igényelne. a g7 használ egy tökre praktikus ilyet ([pl.](https://g7.…
-
-
-
I was doing an analysis on the `main.json` file. I noticed that there are many words which are included in the dictionary, but which don't strictly speaking need to be. Specifically, I noticed that th…
-
```
What steps will reproduce the problem?
I am using the GAPI Library with AuthSub using PHP curl.
What is the expected output? What do you see instead?
It does not return the real value of the tok…