Data Structures and Algorithms Review

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/17

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering key terms and definitions related to data structures and algorithms.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

18 Terms

1
New cards

Binary Search

A search algorithm that finds the position of a target value within a sorted array, using a divide-and-conquer approach.

2
New cards

Hash Table

A data structure that implements an associative array abstract data type, mapping keys to values using a hash function.

3
New cards

Binary Heap

A complete binary tree that satisfies the heap property, where the parent node is greater than or equal to (max heap) or less than or equal to (min heap) its children.

4
New cards

Collision Resolution

A method used to resolve occurrences where two keys hash to the same index in a hash table.

5
New cards

Insertion Sort

An in-place comparison sorting algorithm that builds a sorted array one item at a time.

6
New cards

Quick Sort

A divide-and-conquer algorithm that selects a 'pivot' element from the list and partitions the other elements into two sub-arrays.

7
New cards

Stable Sort

A sorting algorithm that maintains the relative order of records with equal keys (values).

8
New cards

Tree Traversal

The process of visiting all the nodes of a tree data structure in a specified order.

9
New cards

Pre-order Traversal

A tree traversal method where the root node is processed first, then the left subtree, followed by the right subtree.

10
New cards

Post-order Traversal

A tree traversal method where the left subtree is processed first, then the right subtree, followed by the root node.

11
New cards

Node

A fundamental part of a data structure, which may contain data or a reference to other nodes.

12
New cards

Child Node

A node that has a parent node in a tree structure.

13
New cards

Parent Node

A node that has one or more child nodes in a tree structure.

14
New cards

Leaf Node

A node in a tree that does not have any children.

15
New cards

Binary Search Tree

A node-based binary tree data structure that has the left child less than the parent and the right child greater than the parent.

16
New cards

Load Factor

A measure of how full a hash table is, calculated as the number of stored entries divided by the total number of buckets.

17
New cards

Algorithm Efficiency

A measure of the computational resources required by an algorithm, usually expressed in terms of time or space complexity.

18
New cards

Recursion

A programming technique where a function calls itself directly or indirectly to solve a problem.