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 lmu.cmsi281.examples; | |
import java.util.ArrayList; | |
public class mihirDepthFirstSearch { | |
public Boolean searchRecursive(BinaryTreeNodeString root, String element, ArrayList<String> path) { | |
if (root == null) { | |
return false; | |
} | |
path.add(root.getData()); |
NewerOlder