Backtracking is an algorithm for finding all solutions by exploring all potential candidates. If the solution candidate turns to be not a solution (or at least not the last one), backtracking algorithm discards it by making some changes on the previous step, i.e. backtracks and then try again.
理解Backtracking
猜你喜欢
转载自www.cnblogs.com/liuliu5151/p/10708492.html
今日推荐
周排行