Removed whitespace
This commit is contained in:
parent
3b39165316
commit
cb09f165f8
@ -15,6 +15,7 @@ namespace C_.Datastructures.BinarySearchTree
|
|||||||
Count = 0
|
Count = 0
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Tree<T> Create(T? value){
|
public static Tree<T> Create(T? value){
|
||||||
//Create a new Tree with Head
|
//Create a new Tree with Head
|
||||||
return new Tree<T>{
|
return new Tree<T>{
|
||||||
@ -64,7 +65,6 @@ namespace C_.Datastructures.BinarySearchTree
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private TreeNode<T>? Traverse(T value, TreeNode<T> node)
|
private TreeNode<T>? Traverse(T value, TreeNode<T> node)
|
||||||
{//T is comparable so use methods to determine which way to traverse
|
{//T is comparable so use methods to determine which way to traverse
|
||||||
if(node == default)
|
if(node == default)
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public static DoublyLinkedList<T> Create(DoublyLinkedList<T> list1, DoublyLinkedList<T> list2)
|
public static DoublyLinkedList<T> Create(DoublyLinkedList<T> list1, DoublyLinkedList<T> list2)
|
||||||
{
|
{
|
||||||
//Create a new list from 2 separate lists
|
//Create a new list from 2 separate lists
|
||||||
|
Loading…
Reference in New Issue
Block a user