Trimmed working portion to slowly implement instead
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ namespace tree_implementation
|
||||
virtual void PrintPathToRoot(std::string key) = 0;
|
||||
private:
|
||||
TreeNode* Insert(std::unique_ptr<TreeNode> root, std::unique_ptr<TreeNode> newNode);
|
||||
TreeNode* Search(std::unique_ptr<TreeNode> viewedNode, std::string wordToFind);
|
||||
TreeNode* Search(std::unique_ptr<TreeNode>* viewedNode, std::string wordToFind);
|
||||
};
|
||||
|
||||
// Binary Search Tree operations
|
||||
|
||||
Reference in New Issue
Block a user