Add content to graph nodes

pull/2896/head^2
Kamran Ahmed 2 years ago
parent 64e9abd20a
commit 19ae880d6a
  1. 7
      content/roadmaps/103-computer-science/content/102-data-structures/106-graph/100-directed-graph.md
  2. 7
      content/roadmaps/103-computer-science/content/102-data-structures/106-graph/101-undirected-graph.md
  3. 10
      content/roadmaps/103-computer-science/content/102-data-structures/106-graph/102-spanning-tree.md
  4. 12
      content/roadmaps/103-computer-science/content/102-data-structures/106-graph/103-graph-representation.md
  5. 17
      content/roadmaps/103-computer-science/content/102-data-structures/106-graph/readme.md
  6. 5
      content/roadmaps/103-computer-science/content/104-common-algorithms/102-graph-algorithms/102-bellman-fords-algorithm.md
  7. 6
      content/roadmaps/103-computer-science/content/104-common-algorithms/102-graph-algorithms/103-dijkstras-algorithm.md
  8. 12
      content/roadmaps/103-computer-science/content/104-common-algorithms/102-graph-algorithms/readme.md
  9. 7
      content/roadmaps/103-computer-science/content/104-common-algorithms/104-greedy-algorithms/100-dijkstras-algorithm.md

@ -1 +1,6 @@
# Directed graph
# Directed Graph
A directed graph is graph, i.e., a set of objects (called vertices or nodes) that are connected together, where all the edges are directed from one vertex to another. A directed graph is sometimes called a digraph or a directed network. In contrast, a graph where the edges are bidirectional is called an undirected graph.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://en.wikipedia.org/wiki/Directed_graph'>Directed Graph</BadgeLink>

@ -1 +1,6 @@
# Undirected graph
# Undirected Graph
An undirected graph is graph, i.e., a set of objects (called vertices or nodes) that are connected together, where all the edges are bidirectional. An undirected graph is sometimes called an undirected network. In contrast, a graph where the edges point in a direction is called a directed graph.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://mathinsight.org/definition/undirected_graph'>Undirected Graph</BadgeLink>

@ -1 +1,9 @@
# Spanning tree
# Spanning Tree
A spanning tree is a subset of Graph G, which has all the vertices covered with minimum possible number of edges. Hence, a spanning tree does not have cycles and it cannot be disconnected..
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.tutorialspoint.com/data_structures_algorithms/spanning_tree.htm'>Spanning Tree</BadgeLink>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=oolm2VnJUKw&list=PLOtl7M3yp-DX6ic0HGT0PUX_wiNmkWkXx&index=13'>CSE373 2020 - Lecture 13 - Minimum Spanning Trees</BadgeLink>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=RktgPx0MarY&list=PLOtl7M3yp-DX6ic0HGT0PUX_wiNmkWkXx&index=14'>CSE373 2020 - Lecture 14 - Minimum Spanning Trees (con't)</BadgeLink>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=tKwnms5iRBU&index=16&list=PLUl4u3cNGP6317WaSNfmCvGym2ucw3oGp'>Greedy Algorithms: Minimum Spanning Tree</BadgeLink>

@ -1 +1,11 @@
# Graph representation
# Graph Representation
A graph can either be represented as an adjacency matrix or an adjacency list.
The adjacency matrix is a 2D array of size `V x V` where `V` is the number of vertices in a graph. Let the 2D array be `adj[][]`, a slot `adj[i][j] = 1` indicates that there is an edge from vertex `i` to vertex `j`.
Adjacency list is an array of vectors. Size of the array is equal to the number of vertices. Let the array be `array[]`. An entry `array[i]` represents the list of vertices adjacent to the ith vertex. This representation can also be used to represent a weighted graph. The weights of edges can be represented as lists of pairs.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.programiz.com/dsa/graph-adjacency-matrix'>Adjacency Matrix - Graph Representation</BadgeLink>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.programiz.com/dsa/graph-adjacency-list'>Adjacency List - Graph Representation</BadgeLink>

@ -1 +1,16 @@
# Graph
# Graph
Graphs in data structures are non-linear data structures made up of a finite number of nodes or vertices and the edges that connect them. Graphs in data structures are used to address real-world problems in which it represents the problem area as a network like telephone networks, circuit networks, and social networks.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.simplilearn.com/tutorials/data-structure-tutorial/graphs-in-data-structure'>Graph Data Structure</BadgeLink>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=0sQE8zKhad0'>Graph Data Structure | Illustrated Data Structures</BadgeLink>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=Sjk0xqWWPCc&list=PLOtl7M3yp-DX6ic0HGT0PUX_wiNmkWkXx&index=10'>CSE373 2020 - Lecture 10 - Graph Data Structures</BadgeLink>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=ZTwjXj81NVY&list=PLOtl7M3yp-DX6ic0HGT0PUX_wiNmkWkXx&index=11'>CSE373 2020 - Lecture 11 - Graph Traversal</BadgeLink>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=KyordYB3BOs&list=PLOtl7M3yp-DX6ic0HGT0PUX_wiNmkWkXx&index=12'>CSE373 2020 - Lecture 12 - Depth First Search</BadgeLink>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=oolm2VnJUKw&list=PLOtl7M3yp-DX6ic0HGT0PUX_wiNmkWkXx&index=13'>CSE373 2020 - Lecture 13 - Minimum Spanning Trees</BadgeLink>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=RktgPx0MarY&list=PLOtl7M3yp-DX6ic0HGT0PUX_wiNmkWkXx&index=14'>CSE373 2020 - Lecture 14 - Minimum Spanning Trees (con't)</BadgeLink>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=MUe5DXRhyAo&list=PLOtl7M3yp-DX6ic0HGT0PUX_wiNmkWkXx&index=15'>CSE373 2020 - Lecture 15 - Graph Algorithms (con't 2)</BadgeLink>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=Aa2sqUhIn-E&index=15&list=PLUl4u3cNGP61Oq3tWYp6V_F-5jb5L2iHb'>6.006 Single-Source Shortest Paths Problem</BadgeLink>

@ -1 +1,4 @@
# Bellman fords algorithm
# Bellman Ford's Algorithm
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=f9cVS_URPc0&ab_channel=MITOpenCourseWare'>Bellman-Ford - MIT</BadgeLink>

@ -1 +1,5 @@
# Dijkstras algorithm
# Dijkstra's Algorithm
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=NSHizBK9JD8&t=1731s&ab_channel=MITOpenCourseWare'>Dijkstra's Algorithm - MIT</BadgeLink>

@ -1 +1,11 @@
# Graph algorithms
# Graph Algorithms
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=i_AQT_XfvD8&index=6&list=PLFDnELG9dpVxQCxuD-9BSy2E7BWY3t5Sm'>Graph Algorithms I - Topological Sorting, Minimum Spanning Trees, Prim's Algorithm - Lecture 6</BadgeLink>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=ufj5_bppBsA&list=PLFDnELG9dpVxQCxuD-9BSy2E7BWY3t5Sm&index=7'>Graph Algorithms II - DFS, BFS, Kruskal's Algorithm, Union Find Data Structure - Lecture 7</BadgeLink>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=DiedsPsMKXc&list=PLFDnELG9dpVxQCxuD-9BSy2E7BWY3t5Sm&index=8'>Graph Algorithms III: Shortest Path - Lecture 8</BadgeLink>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=XIAQRlNkJAw&list=PLFDnELG9dpVxQCxuD-9BSy2E7BWY3t5Sm&index=9'>Graph Alg. IV: Intro to geometric algorithms - Lecture 9</BadgeLink>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=RpgcYiky7uw'>Strongly Connected Components Kosaraju's Algorithm Graph Algorithm</BadgeLink>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/playlist?list=PL9xmBV_5YoZO-Y-H3xIC9DGSfVYJng9Yw'>Shortest Path Algorithms (playlist) in 16 minutes</BadgeLink>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/playlist?list=PL9xmBV_5YoZObEi3Hf6lmyW-CBfs7nkOV'>Minimum Spanning Trees (playlist) in 4 minutes</BadgeLink>
<BadgeLink colorScheme='purple' badgeText='Course' href='https://www.coursera.org/learn/algorithms-on-graphs'>Algorithms on Graphs - Coursera</BadgeLink>

@ -1 +1,6 @@
# Dijkstras algorithm
# Dijkstra's Algorithm
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=NSHizBK9JD8&t=1731s&ab_channel=MITOpenCourseWare'>Dijkstra's Algorithm - MIT</BadgeLink>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=CHvQ3q_gJ7E&list=PLUl4u3cNGP61Oq3tWYp6V_F-5jb5L2iHb&index=18'>Speeding Up Dijkstra's Algorithm - MIT</BadgeLink>

Loading…
Cancel
Save