Greedy Algorithms and Dynamic Programming

0.0(0)
studied byStudied by 0 people
0.0(0)
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/9

flashcard set

Earn XP

Description and Tags

These flashcards cover key terms and concepts related to greedy algorithms and dynamic programming, based on provided lecture notes.

Last updated 4:16 AM on 2/3/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

10 Terms

1
New cards

Greedy Algorithm

An algorithm that makes the best possible choice at the current step and then moves forward without reconsidering previous decisions.

2
New cards

Local Optimal Choice

The best choice at the current step in a greedy algorithm.

3
New cards

Global Optimum

The best overall solution for the entire problem across all choices.

4
New cards

Greedy Choice Property

A property where a locally optimal choice can be made without affecting the final optimal solution.

5
New cards

Optimal Substructure

A characteristic of a problem where an optimal solution to the problem can be constructed from optimal solutions to its subproblems.

6
New cards

Dynamic Programming

A method that explores all possibilities to guarantee the optimal solution, rather than making decisions step-by-step.

7
New cards

Minimum Coin Change Problem

An optimization problem to find the minimum number of coins needed to make a target amount.

8
New cards

Coin Denominations

The different values of coins available for use in the minimum coin change problem.

9
New cards

Activity Selection Problem

An optimization problem where the goal is to select the maximum number of non-overlapping activities.

10
New cards

Time Complexity of Greedy Algorithms

The measure of the time taken by an algorithm to run, often determined by sorting activities or making selections.