collections/linkedlist/0/output - Output of the program with basic operations on a LinkedList. | Lecture 12 - slide 19 : 36 Program 2 |
Initial LinkedList 5 3 2 7 -4 0 ((ICollection<int>)lst).Add(17); 5 3 2 7 -4 0 17 lst.AddFirst(-88); lst.AddFirst(88); -88 5 3 2 7 -4 0 17 88 lst.Remove(17); -88 5 3 2 7 -4 0 88 lst.RemoveFirst(); lst.RemoveLast(); 5 3 2 7 -4 0 lst.Clear();