[알고리즘] Backtracking(백트래킹)이란?


[알고리즘] Backtracking(백트래킹)이란?

#DFS #BFS #backtracking #알고리즘기초 #코딩공부 이번에는 backtracking(역추적)이라고 하는 개념에 대해서 공부해 본 내용을 정리해 보도록 하겠습니다. 백트래킹에 대해서 구글에 검색을 해보니, 위키피디아에 아래와 같은 원문 정의가 나왔습니다. Backtracking is genral algorithm for finding solutions to some computational problems, notably constraint satisfaction problems, that incrementally builds candidates to the solutions, and abandons a candidate ("backtracks") as soon as it determines that the candidate cannot possibly be completed to a valid solutions. 정의를 간단하게 해석해 보면, backtra..........



원문링크 : [알고리즘] Backtracking(백트래킹)이란?