Module 5: Sorting Algorithms

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

1/20

flashcard set

Earn XP

Description and Tags

Last updated 9:34 PM on 11/4/24
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

21 Terms

1
New cards

Sorting Algorithm

An algorithm that puts elements of a list in a certain order, typically numerical or lexicographical.

2
New cards

Nondecreasing Order

An order of elements where each element is no smaller than the previous one according to total order.

3
New cards

Permutation

A reordering of elements that retains all original elements.

4
New cards

Time Complexity

The running time describing how many operations an algorithm must carry out to complete.

5
New cards

Space Complexity

The memory space required to run a particular algorithm.

6
New cards

Bubble Sort

A simple sorting algorithm that repeatedly swaps adjacent elements if they are in the wrong order.

7
New cards

Selection Sort

An in-place comparison-based algorithm that divides the list into sorted and unsorted parts and repeatedly selects the smallest element.

8
New cards

Insertion Sort

An in-place comparison-based algorithm that maintains a sorted sub-list and inserts unsorted elements into their correct position.

9
New cards

Shell Sort

An efficient sorting algorithm based on insertion sort with improved performance using gaps.

10
New cards

Merge Sort

A Divide and Conquer algorithm that divides the input array into two halves, sorts them, and then merges the sorted halves.

11
New cards

Heap Sort

A comparison-based sorting technique based on Binary Heap data structure that sorts elements by repeatedly finding the maximum.

12
New cards

Stable Sort

A sorting algorithm that maintains the relative order of equal elements in the sorted output.

13
New cards

Counting Sort

An integer sort algorithm that counts the number of occurrences of each unique element in the input.

14
New cards

Average Case Complexity

The expected running time of an algorithm averaged over all possible inputs.

15
New cards

Worst Case Complexity

The maximum running time of an algorithm under the worst possible scenario of inputs.

16
New cards

Interval (Gap)

The distance between elements compared in Shell sort, determining how far apart elements are.

17
New cards

Max Heap

A binary heap where the value of a parent node is greater than or equal to that of its children.

18
New cards

Min Heap

A binary heap where the value of a parent node is less than or equal to that of its children.

19
New cards

Complete Binary Tree

A binary tree where every level, except possibly the last, is completely filled.

20
New cards

Heuristic

A technique designed to solve a problem faster than classic methods, often by trading optimality, completeness, or precision for speed.

21
New cards

Canonicalizing Data

The process of converting data into a standard or canonical form.

Explore top notes

note
Chapter 29: Body Fluids
Updated 1253d ago
0.0(0)
note
Energy and Heat Basics
Updated 1236d ago
0.0(0)
note
Chapter 9: Transitions
Updated 1004d ago
0.0(0)
note
10.1-10.4  Acids, Bases and Salts
Updated 1299d ago
0.0(0)
note
Chapter 19: Computer Basics
Updated 1327d ago
0.0(0)
note
Dietary Disorders (copy)
Updated 1191d ago
0.0(0)
note
Hitting the Jackpot
Updated 13d ago
0.0(0)
note
Chapter 29: Body Fluids
Updated 1253d ago
0.0(0)
note
Energy and Heat Basics
Updated 1236d ago
0.0(0)
note
Chapter 9: Transitions
Updated 1004d ago
0.0(0)
note
10.1-10.4  Acids, Bases and Salts
Updated 1299d ago
0.0(0)
note
Chapter 19: Computer Basics
Updated 1327d ago
0.0(0)
note
Dietary Disorders (copy)
Updated 1191d ago
0.0(0)
note
Hitting the Jackpot
Updated 13d ago
0.0(0)

Explore top flashcards

flashcards
PRELIM NET TECH - H1
24
Updated 197d ago
0.0(0)
flashcards
Französisch Wörter Phase 3
310
Updated 795d ago
0.0(0)
flashcards
woordpakket 1 Nederlands
101
Updated 1192d ago
0.0(0)
flashcards
FS Final Review (given)
35
Updated 1040d ago
0.0(0)
flashcards
PRELIM NET TECH - H1
24
Updated 197d ago
0.0(0)
flashcards
Französisch Wörter Phase 3
310
Updated 795d ago
0.0(0)
flashcards
woordpakket 1 Nederlands
101
Updated 1192d ago
0.0(0)
flashcards
FS Final Review (given)
35
Updated 1040d ago
0.0(0)