pakyu Christian Gutierrez CS student na taga Caloocan

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

1/49

encourage image

There's no tags or description

Looks like no tags are added yet.

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

No analytics yet

Send a link to your students to track their progress

50 Terms

1
New cards

Tree Edge (DFS)

An edge that discovers a previously unvisited vertex and becomes part of the DFS tree.

2
New cards

Pivot (Quick Sort)

The element chosen to partition the array into smaller and larger elements.

3
New cards

Insertion Sort

A sorting algorithm that builds a sorted list by inserting each element into its proper position.

4
New cards

Topological Sort

An ordering of vertices in a directed acyclic graph where every edge points from an earlier vertex to a later vertex.

5
New cards

Post-order Traversal

A tree traversal that visits all subtrees before visiting the node itself.

6
New cards

Interpolation Search

A search algorithm that estimates the target's position based on the values at the ends of the search interval.

7
New cards

In-order Traversal

A tree traversal that visits the left subtree, the node, and then the right subtree.

8
New cards

Gapped Insertion Sort

An insertion sort performed on elements separated by a fixed gap, used in Shell Sort.

9
New cards

Depth-First Search (DFS)

A graph traversal method that explores as far as possible along one path before backtracking.

10
New cards

Decrease by a Constant

A decrease-and-conquer technique that reduces the problem size by a fixed amount in each step.

11
New cards

Pre-order Traversal

A tree traversal that visits the node before its subtrees.

12
New cards

Cross Edge (BFS)

An edge connecting vertices on the same or adjacent levels that is not part of the BFS tree.

13
New cards

Prim Key

The minimum edge weight needed to connect a vertex to the growing minimum spanning tree.

14
New cards

Kahn's Algorithm

A queue-based algorithm that repeatedly removes vertices with zero in-degree to produce a topological order.

15
New cards

Decrease by a Constant Factor

A decrease-and-conquer technique that reduces the problem size by a fixed fraction, such as one-half, in each step.

16
New cards

Time Complexity Θ(n²)

An asymptotic bound indicating that the running time grows proportionally to the square of the input size.

17
New cards

Relaxation (Shortest Path)

The process of updating a vertex's shortest known distance when a shorter path is found.

18
New cards

Merge Sort

A stable divide-and-conquer sorting algorithm that splits, sorts, and merges arrays recursively.

19
New cards

Top-Down

A problem-solving approach that starts with the original problem and recursively breaks it into smaller sub-problems.

20
New cards

BFS Queue

The queue used to store vertices waiting to be explored in Breadth-First Search.

21
New cards

Union-Find

A data structure that manages disjoint sets and supports efficient union and find operations.

22
New cards

DFS Stack

The stack used to store vertices waiting to be explored in Depth-First Search.

23
New cards

Shaker Sort

A bi-directional variation of Bubble Sort that alternates left-to-right and right-to-left passes.

24
New cards

Breadth-First Search (BFS)

A graph traversal algorithm that visits vertices level by level using a queue.

25
New cards

Space Complexity O(V + E)

Memory usage proportional to the number of vertices and edges in a graph.

26
New cards

Quick Sort

An in-place divide-and-conquer sorting algorithm that partitions an array around a pivot and recursively sorts the partitions.

27
New cards

DFS-based Topological Sort

A topological sorting method that performs DFS and outputs vertices in reverse finishing order.

28
New cards

Minimum Spanning Tree (MST)

A set of edges that connects all vertices with the minimum total weight and no cycles.

29
New cards

Binary Search

A search algorithm that repeatedly halves the search interval to find a target in a sorted array.

30
New cards

Shell Sort

An in-place sorting algorithm that sorts elements separated by decreasing gap values.

31
New cards

Decrease and Conquer

An algorithm design strategy that solves a problem by reducing it to a smaller instance and extending the solution.

32
New cards

Prim's Algorithm

A greedy algorithm that builds a minimum spanning tree by repeatedly adding the cheapest edge connected to the current tree.

33
New cards

Euclid's GCD Algorithm

An algorithm that repeatedly replaces the larger number with the remainder until the remainder becomes zero.

34
New cards

Kruskal's Algorithm

A greedy algorithm that builds a minimum spanning tree by adding edges in increasing order of weight while avoiding cycles.

35
New cards

In-degree

The number of incoming edges to a vertex.

36
New cards

Partition (Quick Sort)

The process of rearranging elements so those smaller than the pivot are on one side and larger elements are on the other.

37
New cards

Dijkstra's Algorithm

A greedy algorithm that finds the shortest paths from a source vertex to all other vertices in a graph with non-negative edge weights.

38
New cards

Gap Sequence (Shell Sort)

A sequence of decreasing gap values used to determine which elements are compared in Shell Sort.

39
New cards

Russian-Peasant Multiplication

A multiplication algorithm that repeatedly halves one number and doubles the other, adding selected values.

40
New cards

Quickselect

An algorithm that finds the k-th smallest element by partitioning the array around a pivot.

41
New cards

Variable-Size-Decrease

A decrease-and-conquer technique where the amount of reduction varies depending on the input.

42
New cards

Fake-Coin Problem

A puzzle that identifies a counterfeit coin using repeated weighings that reduce the number of candidates.

43
New cards

Directed Acyclic Graph (DAG)

A directed graph with no cycles.

44
New cards

Shortest-Path Tree

A tree containing the shortest paths from a source vertex to all reachable vertices.

45
New cards

Greedy Algorithm

An algorithmic strategy that makes the locally optimal choice at each step without reconsidering previous choices.

46
New cards

Stable Sort

A sorting algorithm that preserves the relative order of equal elements.

47
New cards

Time Complexity O(E log E)

The running time of algorithms that sort edges and use Union-Find operations, such as Kruskal's Algorithm.

48
New cards

Bottom-Up

An iterative approach that starts with the smallest sub-problems and builds up to the original problem.

49
New cards

Divide and Conquer

An algorithm design strategy that divides a problem into independent sub-problems, solves them recursively, and combines their solutions.

50
New cards

Back Edge (DFS)

An edge that connects a vertex to one of its ancestors in the DFS tree, indicating a cycle in a directed graph.