public IEnumerable <Node <int> > LinkedLists() { yield return(MyLinkedList <int> .GenerateLinkedList(new int[] { 1, 7, 4, 1, 1, 6 }).Head); }
public void SecondTry(MyLinkedList <int> myLinkedList) { myLinkedList.Reverse_AnotherWay(); }
public IEnumerable <object[]> LinkedLists() { var head = MyLinkedList <int> .GenerateLinkedList(new int[] { 1, 7, 4, 1, 1, 6 }).Head; yield return(new object[] { head, 3 }); }
public void FirstTry(MyLinkedList <int> myLinkedList) { myLinkedList.Reverse(); }