Problem Solving Flashcards
Greedy Algorithm
a type of algorithm that solves the problem by making an optimal choice in the current situation to solve the problem
greedy choice
the best, or optimal choice that solves the subproblem
subproblem
a similar problem of smaller size
safe move
a greedy choice where there is an optimal solution consistent with its first move
Divide & Conquer Algorithm
a type of algorithm that tackles several small problems to solve a larger problem
Dynamic Programming
a method of solving complex problems, where the problem is broken down into subproblems. Those subproblems are individually solved, ONCE. Then, their results are stored.
Brute Force
The simplest way of solving a problem, it relies on the computer’s speed to solve the problem