Skip to content

Commit dcf7f8f

Browse files
authored
Merge pull request TheAlgorithms#358 from LeeChungWan/Graphs
Modified Data Structures/Graphs folder .java file name and class name
2 parents 9d9c86c + 707f6f1 commit dcf7f8f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Data Structures/Graphs/BFS.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @author Unknown
77
*
88
*/
9-
public class bfs{
9+
public class BFS{
1010

1111
/**
1212
* The BFS implemented in code to use.

Data Structures/Graphs/DFS.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*/
99

10-
public class dfs{
10+
public class DFS{
1111

1212
/**
1313
* Implementation in code of a DFS

Data Structures/Graphs/PrimMST.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public static void main (String[] args)
100100
| / \ |
101101
(3)-------(4)
102102
9 */
103-
MST t = new MST();
103+
PrimMST t = new PrimMST();
104104
int graph[][] = new int[][] {{0, 2, 0, 6, 0},
105105
{2, 0, 3, 8, 5},
106106
{0, 3, 0, 0, 7},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy