Data Structures and Algorithms - Lecture Notes

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

1/11

flashcard set

Earn XP

Description and Tags

These flashcards cover key concepts from Data Structures and Algorithms lecture notes, focusing on sorting methods, list implementations, dictionaries, and hashing.

Last updated 1:12 AM on 5/12/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

12 Terms

1
New cards

Radix Sort

A sorting algorithm that sorts numbers into buckets without using comparisons.

2
New cards

ADT Sorted List

An Abstract Data Type that stores entries in order determined by their values.

3
New cards

getPosition(anEntry)

Returns a positive position if found, or a negative position where it would be inserted if not found.

4
New cards

LinkedSortedList

A linked implementation of a sorted list with firstNode and numberOfEntries.

5
New cards

Recursive add method

A method that inserts a new entry at the correct spot and rebuilds links as recursion unwinds.

6
New cards

Efficiency Comparison

Compares the efficiency of array-based and linked sorted lists where add, remove, and getPosition are O(n).

7
New cards

SortedList

A class implemented on top of a ListInterface for sorted list operations.

8
New cards

Dictionary

A collection that stores key-value pairs, which may include distinct or duplicated keys.

9
New cards

Dictionaries in Java

Java's Map interface provides operations such as put, get, and remove for key-value mappings.

10
New cards

Hashing

Maps a search key to an array index using a hash function for efficient key lookup.

11
New cards

Load Factor (ฮป)

Measures how full a hash table is, impacting the performance of dictionary operations.

12
New cards

Rehashing

The process of resizing the hash table and re-inserting all entries when a load factor exceeds the threshold.