Removed whitespace

This commit is contained in:
Luke Else 2022-04-13 21:10:12 +01:00
parent 3b39165316
commit cb09f165f8
2 changed files with 1 additions and 2 deletions

View File

@ -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)

View File

@ -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