0% Completed

Codebasics Icon
Graph Introduction - Data Structures & Algorithms Tutorials In Python #12

Graph Introduction - Data Structures & Algorithms Tutorials In Python #12

In this video we will go over the introduction of graph data structure in python. There are two types of graphs, (1) Directed: There is a direction in the way two nodes are connected. Example is flight routes between two cities. (2) Undirected: There is no direction to how two nodes in the graph are connected. Example is Facebook connections. Other applications are google map, computer connections in internet or private network, amazon product recommendations etc.

Code: https://github.com/codebasics/data-structures-algorithms-python/blob/master/data_structures/10_Graph/graph.py