https://github.com/harshit7962/graphs_for_beginners
https://github.com/harshit7962/graphs_for_beginners
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/harshit7962/graphs_for_beginners
- Owner: harshit7962
- Created: 2022-06-16T04:16:29.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-15T18:12:59.000Z (almost 3 years ago)
- Last Synced: 2025-02-09T04:36:09.935Z (3 months ago)
- Language: C++
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Graphs_For_Beginners
Graphs are non-linear data-structure without hierarchy that are used to represent relationships between components...
There are two types of graphs:
1) **Undirected Graph:** Graphs where edges don't have any particular direction and the edge (v1,v2) is same as (v2,v1)...
2) **Directed Graphs:** Graphs where edges have a particular direction and the edge (v1,v2) implies a path from v1 to v2, and not vice-versa...A graph can be represented using an adjacency matrix or an adjacency list.