CUST 1500H Lecture Notes - Lecture 3: Linked List
Document Summary
Generic list meaning it will be able to store different types. Class list < t > : ilist < t > ***who ever inherits an interface must implement those methods. A = 0 1 2 3 4 5 6 7 indices. Return true of false if count is = to zero. List p; p. item = 6, p = p next; x = p. item. Saying q = q. next is similar to saying i++ or i=i + 1; q. next = q. next. next ( this skips one of the nodes in the linked list)