Classic Algorithms - Sorting

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

1/9

flashcard set

Earn XP

Description and Tags

Flashcards containing key vocabulary and definitions related to classic algorithms in sorting.

Last updated 5:10 PM on 4/29/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

10 Terms

1
New cards

Sorting

The process of arranging items in a specific order.

2
New cards

Bubble Sort

A simple sorting algorithm that repeatedly compares adjacent pairs of elements and swaps them if they are in the wrong order.

3
New cards

Quick Sort

A divide-and-conquer sorting algorithm that selects a pivot element from the list and partitions the other elements into two sub-arrays according to whether they are less than or greater than the pivot.

4
New cards

Radix Sort

A non-comparison sorting algorithm that sorts numbers based on their individual digits, processing from least significant to most significant.

5
New cards

Big-Oh Notation

A mathematical notation that describes the upper bound of an algorithm's time complexity, generally denoted as O(f(n)).

6
New cards

Best Case

The scenario in which an algorithm performs the minimum number of operations, often assumed to occur under ideal conditions.

7
New cards

Worst Case

The scenario in which an algorithm performs the maximum number of operations, often indicating the longest time an algorithm can take.

8
New cards

Computational Complexity

A measure of the amount of resources (like time and space) that an algorithm uses in relation to the size of the input data.

9
New cards

Stupid Sort (Bogosort)

An extremely inefficient sorting algorithm that generates permutations of its input until it finds one that is sorted.

10
New cards

Selection Sort

A sorting algorithm that divides the input into two parts: a sorted and an unsorted part, repeatedly selecting the smallest remaining element from the unsorted part and moving it to the end of the sorted part.