ICS 46 - Graphs

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 10

flashcard set

Earn XP

Description and Tags

ICS 46 - Graphs

11 Terms

1

Adjacency List

  • Faster to iterate through

  • Better for sparse data

New cards
2

Adjacency Matrix

  • O(n²) memeory used, not ideal for sparse data sets

New cards
3

Depth First Traversal

DFS is also a traversal approach in which the traverse begins at the root node and proceeds through the nodes as far as possible until we reach the node with no unvisited nearby nodes.

New cards
4

Breadth First Search

BFS is a traversal approach in which we first walk through all nodes on the same level before moving on to the next level.

New cards
5

Iterative Deepening DFS

New cards
6

Toplogical Sort

New cards
7

Kruskals

New cards
8

Prims

New cards
9

Dijkstras

New cards
10

Bellman-Ford

New cards
11

A*

New cards
robot