




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Data Structures Cheat Sheet. ○ Vector, Stack: dynamic array. ○ Queue: linked list or dynamic array. ○ Set, Map: Binary Search Tree.
Typology: Study notes
1 / 186
This page cannot be seen from the preview
Don't miss anything!





























































































● Final: Monday, August 12 th , 7-10pm ● Location: Cubberly Auditorium ● (^) Cumulative (but weighted towards post midterm material) ● Covers material up through Tuesday
http://www.toothpastefordinner.com/
A graph is a mathematical structure for representing relationships.
A graph is a mathematical structure for representing relationships. A graph consists of a set of nodes connected by edges.
A graph is a mathematical structure for representing relationships. A graph consists of a set of nodes connected by edges.
A graph is a mathematical structure for representing relationships. A graph consists of a set of nodes connected by edges. Edges
Some graphs are directed.
Some graphs are undirected. You can think of them as directed graphs with edges both ways.
● “Yo Teach, why are we studying graphs?” ● We study graphs because a lot of problems can be modeled in terms of graphs ● Also, there are many off-the-shelf graph algorithms that we apply if we're able to formulate a problem as a graph problem.