Merge pull request #358 from LeeChungWan/Graphs

Modified Data Structures/Graphs folder .java file name and class name
This commit is contained in:
Varun Upadhyay 2017-12-15 08:55:38 -08:00 committed by GitHub
commit dcf7f8f657
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ import java.util.*;
* @author Unknown
*
*/
public class bfs{
public class BFS{
/**
* The BFS implemented in code to use.

View File

@ -7,7 +7,7 @@ import java.util.*;
*
*/
public class dfs{
public class DFS{
/**
* Implementation in code of a DFS

View File

@ -100,7 +100,7 @@ class PrimMST
| / \ |
(3)-------(4)
9 */
MST t = new MST();
PrimMST t = new PrimMST();
int graph[][] = new int[][] {{0, 2, 0, 6, 0},
{2, 0, 3, 8, 5},
{0, 3, 0, 0, 7},