Sword 12

https://leetcode-cn.com/problems/ju-zhen-zhong-de-lu-jing-lcof/

一年没写代码,码力明显下降了

挨个 dfs,注意回溯,总结一下经验

一定要把终止条件写在最前

dfs 方程尽可能简要

探寻有解的时候 or 起来,将小规模问题当作已知

将小规模问题当作已知!

将小规模问题当作已知!

将小规模问题当作已知!

原文地址:https://www.cnblogs.com/FriskyPuppy/p/14479092.html