Difference between revisions of "Graphs"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(What is a graph)
Line 1: Line 1:
 
==What is a graph==
 
==What is a graph==
 
[[File:Graph-1.jpg|thumb|200px]]
 
[[File:Graph-1.jpg|thumb|200px]]
 +
A graph is an abstract data structure. It can be used to solve routine problems.
 +
 
==Terms==
 
==Terms==
 
===weighted graph===
 
===weighted graph===

Revision as of 12:43, 26 November 2017

What is a graph

Graph-1.jpg

A graph is an abstract data structure. It can be used to solve routine problems.

Terms

weighted graph

vertex/node

edge/arc

undirected graph

directed graph

Adjacency Matrix

Adjacency List

Comparison of List VS Matrix