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
import java.io.*; | |
import java.nio.file.Files; | |
import java.nio.file.Path; | |
import java.nio.file.Paths; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.BitSet; | |
public class Main { | |
//ARGS must include file ext... |
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
import java.util.Hashtable; | |
public class LowestTrav { | |
static int nodeVisits = 0; | |
static Hashtable<TreeNode, Integer> table = new Hashtable<TreeNode, Integer>(); | |
public static void main(String args[]){ | |
TreeNode tree = createTree(); |