Backtracking , DFS, Divide & Conquer
Posted: Fri Apr 21, 2006 3:58 pm
I'm always confusing these concepts. They're very very confusing me.
1. DFS is one of ways of search in graph and it can be implemented by recursive function. Moreover I always believe (recursive function = Backtracking).
So I think Backtracking is high concept than DFS and Backtracking is not a algorithm, but just a programming technique like DP.
2. Divide & Conquer is paradigm for algorithm design. It can be implemented by Backtracking and DP.
3. D&C > Backtracking > DFS
Am I right?
Oh.. There is another question.
Are there any problems that I could solve by ONLY using Backtracking?
Please help me.
ps. Hmm...My English is very poor. sorry about that.
1. DFS is one of ways of search in graph and it can be implemented by recursive function. Moreover I always believe (recursive function = Backtracking).
So I think Backtracking is high concept than DFS and Backtracking is not a algorithm, but just a programming technique like DP.
2. Divide & Conquer is paradigm for algorithm design. It can be implemented by Backtracking and DP.
3. D&C > Backtracking > DFS
Am I right?
Oh.. There is another question.
Are there any problems that I could solve by ONLY using Backtracking?
Please help me.
ps. Hmm...My English is very poor. sorry about that.