Write A Function That Deletes The Kth Element Of The Linked List If No Such Element 656700

Extend the class linkedListType by adding the following operations:

a. Write a function that returns the info of the kth element of the linked list. If no such element exists, terminate the program.

b. 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.)

Prof. Angela

4.6/5

Calculate Price


Price (USD)
$
Open chat