We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9ac2e8 commit 652ecfcCopy full SHA for 652ecfc
33-Graphs_(Part-I)/GraphsP1.java
@@ -0,0 +1,33 @@
1
+public class GraphsP1 {
2
+ public static void main(String[] args) {
3
+ /*
4
+ * Introduction --------------------------------
5
+ * Graphs -> Network of Vertices (Nodes)
6
+ * Ex:
7
+ * 1 4 —— 9
8
+ * \ / \
9
+ * 6 3 —— 8
10
+ * \
11
+ * 12
12
+ *
13
+ * Single node -> Vertex
14
+ * Connection to node -> Edge
15
16
+ * Type Of Graphs (Based on Edge) --------------------------------
17
+ * Direction ---
18
+ * 1. Uni-Directional (Directed Graph)
19
+ * Ex: A ⇾ B
20
+ * 2. Un-Directed / Bi-Directional (Undirected Graph)
21
+ * Ex: A — B
22
+ * A ←→ B
23
24
+ * Weight ---
25
+ * 1. Weighted
26
+ * Ex: Weight of Edge = +ve & -ve
27
28
+ * 2. Un-Weighted
29
+ * Ex: Weight of Edge = None
30
+ */
31
+
32
+ }
33
+}
33-Graphs_(Part-I)/code.java
0 commit comments