Cleaned up various DataStructures

This commit is contained in:
2022-04-19 22:00:24 +01:00
parent a8d47f1061
commit c7ccd641c4
2 changed files with 3 additions and 19 deletions

View File

@ -142,20 +142,6 @@ namespace C_.Datastructures.LinkedList
return node;
}
//private static LinkedListNode<T>? Traverse(LinkedListNode<T> start){
// //Start at given point in list
// LinkedListNode<T>? node = start;
// if (node != null)
// {
// //Continue to end of list
// while (node!.Next != default)
// {
// node = (LinkedListNode<T>)node.Next;
// }
// }
// return node;
//}
private LinkedListNode<T>? Traverse(int i)
{
//Start at given point in list