Difference between backtracking and recursion?
That question is like asking what’s the difference between a car and a DeLorean. In recursion function calls itself until reaches a base case. In backtracking you use recursion in order to explore all the possibilities until you get the best result for the problem. Can be a bit hard to understand, I attach some … Read more