This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package breadfirstserach; | |
public class App { | |
public static void main(String[] args) { | |
BFS bfs = new BFS(); | |
Node node1 = new Node(1); | |
Node node2 = new Node(2); | |
Node node3 = new Node(3); |