Exhaustive Search and Optimization

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/22

flashcard set

Earn XP

Description and Tags

These flashcards cover key terms and definitions related to exhaustive search and optimization, algorithms, and the greatest common divisor problem.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

23 Terms

1
New cards

Exhaustive Search

A brute-force approach to combinatorial problems that generates all elements of the problem domain to find a desired element.

2
New cards

Candidate Solution

An object of the same data type as a problem output that may or may not be a correct output.

3
New cards

Acceptable Solution

A candidate solution that comprises a correct output for a given problem instance.

4
New cards

Verifier Algorithm

An algorithm that verifies whether a candidate solution is acceptable for a given problem instance.

5
New cards

Time Complexity

A measure of the amount of time an algorithm takes to complete as a function of the length of the input.

6
New cards

Exhaustive Optimization

A method that seeks to find the optimal candidate by keeping track of the best solution observed.

7
New cards

Greatest Common Divisor (GCD) Problem

The problem of finding the greatest positive integer that divides two given integers without leaving a remainder.

8
New cards

Integer Factorization

The process of breaking an integer into a product of smaller integers, specifically its prime factors.

9
New cards

Powerset

The set of all possible subsets of a set, including the empty set.

10
New cards

Permutations

Different arrangements of a set of elements where the order matters.

11
New cards

Greedy Method

An algorithmic paradigm that builds a solution piece by piece, always choosing the next piece that offers the most immediate benefit.

12
New cards

Johnson-Trotter Algorithm

An algorithm for generating all permutations of a sequence by exchanging adjacent elements.

13
New cards

Binary GCD Algorithm

A method that uses repeated subtraction and division by 2 to find the greatest common divisor.

14
New cards

Proper Exhaustive Search

An exhaustive search that returns the first correct candidate object.

15
New cards

Exhaustive Search Time Complexity

knowt flashcard image
16
New cards

Exhaustive Optimization Time Complexity

knowt flashcard image
17
New cards

GCD standard / Euclid Time Complexity

knowt flashcard image
18
New cards

GCD Euclidean Time Complexity

knowt flashcard image
19
New cards

GCD Lehmer’s algorithm Time Complexity

knowt flashcard image
20
New cards

GCD Binary GCD algorithm Time Complexity

knowt flashcard image
21
New cards

Generating pairs Time Complexity

knowt flashcard image
22
New cards

Subset generating Time Complexity

knowt flashcard image
23
New cards

John-Trotter Permutation algoirthm Time Complexity

knowt flashcard image