Introduction to Data Structures and 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/11

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering fundamental concepts, classifications, properties, and complexity measures in Data Structures and Algorithms.

12 Terms

1
New cards

Data Structure

A way of collecting and organising data to perform operations effectively and efficiently on them while utilizing minimum memory space and execution time.

2
New cards

Linear Data Structure

A data structure where elements are arranged in one dimension (also known as a linear dimension); examples include lists, stack, and queue.

3
New cards

Non-Linear Data Structure

A data structure where elements are arranged in one-many, many-one, and many-many dimensions; examples include tree, graph, and table.

4
New cards

Data Structures Classification

The hierarchical organization of data structures into Linear structures (Static: Array; Dynamic: List, Stack, Queue) and Non-Linear structures (Graph, Tree).

<p>The hierarchical organization of data structures into Linear structures (Static: Array; Dynamic: List, Stack, Queue) and Non-Linear structures (Graph, Tree).</p>
5
New cards

Algorithm

A finite set of instructions or logic, written in order, to accomplish a certain predefined task, representing the core problem logic rather than complete code.

6
New cards

Input (Algorithm Property)

The property stating that there should be 00 or more inputs supplied externally to the algorithm.

7
New cards

Output (Algorithm Property)

The property stating that there should be at least 11 output obtained from the algorithm.

8
New cards

Definiteness

An algorithm property requiring that every step of the algorithm should be clear and well defined.

9
New cards

Finiteness

An algorithm property requiring that the algorithm should have a finite number of steps.

10
New cards

Correctness

An algorithm property requiring that every step of the algorithm must generate a correct output.

11
New cards

Time Complexity

A way to represent the amount of time required by the program to run till its completion, counted for all statements and primarily determined by input data size.

12
New cards

Space Complexity

The amount of memory space required by an algorithm during the course of its execution, counted for all variables, inputs, and outputs, and primarily determined by auxiliary variable size.