Assignment (Chapter 16)
(Not rated)
(Not rated)
Assignment (Chapter 16):
Extend the class linkedListType by adding the following operations:
·Write a function that returns the info of the kth element of the linked list. If no such element exists, terminate the program.
·Write a function that deletes the kth element of the linked list. If no such element exists, terminate the program.
Provide the definitions of these functions in the class linkedListType. Also, write a program to test these functions. (Use either the class unorderedLinkedList or the class orderedLinkedList to test your function.)
12 years ago
complete solution
NOT RATED
Purchase the answer to view it

- linkedlist_insert_delete_kthelement.zip