Computational Complexity & Fourier Transforms - Vocabulary Flashcards

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

1/24

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering key terms from the lecture on computational complexity, problem reductions, complexity classes, optimization vs. decision problems, and the DFT/FFT.

Last updated 5:36 PM on 9/4/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

25 Terms

1
New cards

Computational complexity

The study of the time (temporal) and space (memory) resources required by an algorithm; depends on both the algorithm and the data structures used.

2
New cards

Temporal complexity

The number of basic operations an algorithm performs as a function of input size N.

3
New cards

Spatial complexity

The memory used beyond the input size N to complete an algorithm.

4
New cards

Decision problem

A problem whose answer is yes or no, used to analyze and compare problems and study P vs NP.

5
New cards

P (Polynomial Time)

Class of decision problems solvable by a deterministic algorithm in time polynomial in input size.

6
New cards

NP (Nondeterministic Polynomial Time)

Class of problems where a proposed solution can be verified in polynomial time by a deterministic algorithm.

7
New cards

NP-Hard

Problems that are at least as hard as the hardest problems in NP; may not be in NP; solving them efficiently would solve all NP problems.

8
New cards

NP-Complete

Problems that are both in NP and NP-Hard; solving any one in polynomial time would imply P = NP.

9
New cards

Reduction

Transforming one problem into another so that solving the second helps solve the first.

10
New cards

Optimization problem

A problem that seeks the best possible solution (e.g., maximum value, minimum time).

11
New cards

Decision version of an optimization problem

The yes/no version obtained by adding a threshold to the optimization goal.

12
New cards

Shortest path (optimization)

Find the minimum-length path between two cities.

13
New cards

Decision version of shortest path

Is there a path between two cities with length at most k?

14
New cards

Largest non-overlapping task set

Optimization version that aims to maximize the number of non-overlapping tasks.

15
New cards

Decision version: ≥ k non-overlapping tasks

Is there a non-overlapping task set of size at least k?

16
New cards

Knapsack problem

Choose items to maximize value without exceeding a weight limit.

17
New cards

Decision version of Knapsack

Can we pack items with total value at least k without exceeding weight W?

18
New cards

Chromatic number

The smallest number of colors needed to color a graph so that adjacent vertices have different colors.

19
New cards

Decision version of graph coloring

Can the graph be colored with at most k colors?

20
New cards

Unsolvable (uncomputable)

Problems for which no algorithm can give correct answers for all inputs.

21
New cards

Halting problem

The problem of determining whether a program will halt on a given input; proven undecidable by Turing.

22
New cards

DFT (Discrete Fourier Transform)

Transform that converts a finite sequence from time domain to frequency domain; naively O(n²) to compute.

23
New cards

FFT (Fast Fourier Transform)

Efficient algorithm to compute the DFT in O(n log n), typically via divide-and-conquer.

24
New cards

Radix-2 FFT

FFT variant requiring input length to be a power of 2 and using even/odd index splitting.

25
New cards

Cooley–Tukey FFT

1965 algorithm that popularized FFT by recursively factoring the DFT to achieve O(n log n).