forked from xtaci/algorithms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.java
More file actions
43 lines (33 loc) · 906 Bytes
/
Copy pathMain.java
File metadata and controls
43 lines (33 loc) · 906 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
public class Main {
public static class Node {
int node;
Node left;
Node right;
public Node(int node) {
this.node = node;
this.left = null;
this.right = null;
}
}
public static void main(String args []) {
// EightQueen queen = new EightQueen();
// queen.solve(0);
int [] array = {1,2,3};
//int [] array = {1,2,3,4,5,6,7};
// array = ArrayShuffle.shuffle(array);
// Utils.printArray(array);
//System.out.println(Prime.isPrime(12)+"");
// Permutation perm = new Permutation(array);
// perm.printPermutate();
// Fibo fibo = new Fibo(7);
// fibo.printFibo();
// DecimalConverter converter = new DecimalConverter(44832109);
// converter.printAll();
//graph.printGraph();
// Graph graph = Graph.createSampleGraph();
// Dijkstra dijkstra = new Dijkstra();
// dijkstra.findShortestPath(0);
Prim prim = new Prim();
prim.findMST(0);
}
}