Create a C program that will do the following operations using linked list: Insert(k): adds k to the start of the list with O(1) operation time Delete(): delete element at the start of the list with...


Create a C program that will do the following operations using linked list:


  • Insert(k): adds k to the start of the list with O(1) operation time

  • Delete(): delete element at the start of the list with O(1) operation time

  • PrintList(): display all the elements of the list with O(n) operation time

  • Find(k): find the position of element with value k with O(n) operation time

  • FindKth(k): find element at position k with O(n) operation time

  • IsEmpty(): check if the number of elements in the list are zero with O(1) operation time.



Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here