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/24

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards summarizing key concepts from the lecture on data structures and algorithms.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

25 Terms

1
New cards

Data Structure

A specialized format for organizing, processing, retrieving, and storing data.

2
New cards

Linear Data Structure

A data structure with homogeneous elements arranged in a linear sequence.

3
New cards

Array

A sequence of finite items of the same data type stored contiguously in memory, accessed by indexing.

4
New cards

Linked List

A sequence of nodes where each node contains data and links to other nodes.

5
New cards

Singly Linked List

A linked list where each node points to the next node.

6
New cards

Doubly Linked List

A linked list where each node points to both its predecessor and successor.

7
New cards

Stack

A linear data structure that follows the LIFO (Last In, First Out) principle.

8
New cards

Push operation

The process of adding an element to the top of a stack.

9
New cards

Pop operation

The process of removing the top element from a stack.

10
New cards

Reverse Polish Notation (RPN)

A notation where every operator follows all of its operands.

11
New cards

Queue

A data structure where items are added at one end (rear) and removed from another end (front) following FIFO (First In, First Out).

12
New cards

Enqueue operation

The process of adding an element to the rear of a queue.

13
New cards

Dequeue operation

The process of removing an element from the front of a queue.

14
New cards

Non-linear Data Structure

A data structure that does not organize data sequentially, exhibiting hierarchical relationships.

15
New cards

Tree

A connected acyclic graph with nodes and edges, where each node has at most two children.

16
New cards

Binary Search Tree

A binary tree in which every node has lesser values on the left and greater on the right.

17
New cards

AVL Tree

A self-balancing binary search tree where the balance factor is maintained.

18
New cards

Hashing

The process of converting data into a shorter fixed-length key representing the original value.

19
New cards

Graph

A collection of vertices and edges connecting them.

20
New cards

Directed Graph

A graph where edges have a direction.

21
New cards

Algorithm

A sequence of unambiguous instructions for solving a problem.

22
New cards

Criteria of a Good Algorithm

Conditions such as input, output, finiteness, definiteness, and effectiveness that determine the quality of an algorithm.

23
New cards

Sorting Problem

An algorithmic problem that involves rearranging items in a specific order.

24
New cards

Searching Problem

An algorithmic problem focused on finding a specific value in a dataset.

25
New cards

Combinatorial Problems

Problems that involve finding combinatorial objects, such as permutations and combinations.