Data Structures CH.1-3

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

1/24

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:10 PM on 7/16/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

25 Terms

1
New cards

Data Structure

A specific way to store and organize data in a computer so it can be used efficiently.

2
New cards

Algorithm

A set of exact steps needed for a computer to solve a problem or reach a goal.

3
New cards

Procedure

A step-by-step set of instructions that takes specific inputs and follows exact actions to produce a desired outcome.

4
New cards

Data Abstraction

The practice of seperating the logical view from the physical view.

5
New cards

Pseudocode

High level description that combines natural language with familiar structure from programming language.

6
New cards

Graph

A DS consisting of a finite set of vertices and edges between pair of verticies.

7
New cards

Self-loop Edge

An edge that originates AND ends at the same vertex.

<p>An <strong>edge </strong>that <strong>originates AND ends </strong>at the same vertex. </p>
8
New cards

Parellel Edge

2 undirected edges with the same end vertices.

*For directed MUST share same orgin AND destination

<p>2 undirected edges with the same end vertices. </p><p>*For directed MUST share same orgin AND destination</p>
9
New cards

Simple Graph

A graph that contains NO parellel edge and no self-loops

10
New cards

Weighted Graph

A graph with a specific value(weight)

11
New cards

Degree of Vertex

Number of edges in a vertex

12
New cards

in-degree

number of incoming edges into a vertex

13
New cards

out-degree

number of outcoming edges in a vertex

14
New cards

Path

A sequence of verticies where every vertex is adjacent to the next one in the sequence.

15
New cards

Simple Path

All verticies and edges are completley distinct.

16
New cards

Length of Path

Sum of all edges that make up the path.

17
New cards

Cycle

A circular sequence of alternating vertex and edges where the starting vertex is identical to the ending vertex

<p>A circular sequence of alternating vertex and edges where the starting vertex is identical to the ending vertex</p>
18
New cards

Adjecency Matrix

A square grid of true false values that represent edges of a graph. O(v²)

<p>A square grid of true false values that represent edges of a graph. <strong>O(v²)</strong></p>
19
New cards

Adjacency List

A graph representation where a linked list is created for each vertex. O(V + E)

<p>A graph representation where a linked list is created for each vertex. <strong>O(V + E) </strong></p>
20
New cards

DiGraph

Graph whose ALL edges are directed

<p>Graph whose ALL edges are directed</p>
21
New cards

Directed Acylic Graph(DAG)

a Digraph that contains NO directed cycles. Flows in one direction.

22
New cards

Topological Ordering / Sort

A linear oredering of the vertecies in a digraph such that for every directed edge uv, u comes before v . - can have more than one option traversing order

23
New cards

Task

Represents an individual node or vertex in a DAG

24
New cards

Scheduling

An edges represents a dependency where on task must be completed before another one can begin.

<p>An edges represents a dependency where on task must be completed before another one can begin.</p>
25
New cards