Пример #1
0
 public void Intialize()
 {
     list = new SingleLinkedList();
     list.AddFront(3);
     list.AddFront(2);
     list.AddFront(1);
     list.Print();
 }
Пример #2
0
 public void TestReverseRecursive()
 {
     Console.WriteLine("Test started!");
     ReverseList reverse = new ReverseList();
     list = reverse.ReverseLinkedListRecursive(list);
     Console.WriteLine("Reverse Ended!");
     list.Print();
     Console.WriteLine("Test Ended!");
 }