Day 1 — Huffman/Compression, Algorithm Vocabulary, Deque

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/13

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 5:53 PM on 9/24/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

14 Terms

1
New cards
Huffman coding
Assigns shorter binary codes to more frequent characters and longer codes to rare ones, minimizing total encoded size
2
New cards
Dictionary based compression
Assigns unique short codes to repeated phrases or words and stores the mapping in a dictionary
3
New cards
Definiteness
All steps of an algorithm must happen in a specific, certain order
4
New cards
Unambiguity
Each step of an algorithm has exactly one clear interpretation
5
New cards
Abstraction
ADT feature that hides implementation details from the user
6
New cards
Brute force
Design strategy that tries all possibilities exhaustively
7
New cards
Divide and conquer
Design strategy that breaks a problem into smaller subproblems, solves each, then combines results
8
New cards
Backtracking
Tries a path and undoes it to try another if it fails, often used to implement brute force
9
New cards
Greedy algorithm
Picks the locally best option at each step
10
New cards
Branch and bound
Like backtracking but prunes paths that cannot beat the best known solution
11
New cards
Deque
Double ended queue allowing insertion and removal from both ends
12
New cards
Queue
Allows insertion at one end and removal from the other end only, FIFO order
13
New cards
Record
Data structure that stores subitems with a name associated with each subitem
14
New cards
Single operation in Big O analysis
Treated as O(1) because any constant time operation does not change the growth ra