Modified Data Structures/Graphs folder .java file name and class name

This commit is contained in:
unknown 2017-12-15 15:13:13 +09:00
parent 9d183e6255
commit 707f6f1ea8
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},