Alogrithms Flashcards

I'm going to Google

1
Q

What is

Backtracking

A

回溯法(backtracking)
將每種可能性列出,但只要算到絕對不可行的結果就退回、不再依照該路徑往下計算,跟傳統的「暴力法」相比,可以省去計算行不通的解之時間。

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly