2. Singly-linked Lists Remember that a singly linked listdefines a collection of nodes that are arranged in a linear order.The order in a linked list is determined by a reference in eachnode. The first and the last node of a linked list are called thehead and tail of the list, respectively. Linked list operationsusually include:
1) insertFirst(e) Insert element e to be the head of the linkedlist;
2) removeFirst() Remove and return the first element from thelinked list and an error would occur if the list is empty;
3) size() Return the number of elements in the linked list;
4) isEmpty() Return TRUE if
PayPal Gateway not configured
PayPal Gateway not configured