Chapter 3 Algorithms | 3.3
• Randomized Algorithms
• Hill Climbing Algorithms
3.3.1 BRUTE FORCE ALGORITHMS
e brute force algorithm tries to nd all the possible cases until the satisfactory solution is found.
Example: Finding the best path for the travelling salesman problem.
3.3.2 DIVIDE AND CONQUER ALGORITHMS
e divide and conquer algorithm tries to divide the solution of a problem into smaller sub-problems of the
same type and tries to solve the problems recursively. Finally, all the smaller sub-problem solutions will be
combined to get the full solution. ese algorithms will always contain recursive calls to the sub-algorithms
or sub-routines.
Example: Quick sort, merge sort.
3.3.3 DYNAMIC PROGRAMMING ALGORITHMS
e dynamic programmin ...