Question: Note: Please code in C. Create a program that will manage a list of integers. Note that this ME is equivalent to 300 points (
Note: Please code in C.


Create a program that will manage a list of integers. Note that this ME is equivalent to 300 points ( 3MEs ). Input Input starts with a number N and is followed by N test cases. Each test cases will be consists of an initial list of positive integers (maybe empty), and a set of operations. The following are the operations: 1x=> insert element x at the head of the list 2xy insert element x after index y (if y is greater than the current size of the list then no operation needs to be done.) 3x=> delete the element at index x (if x is greater than the current size of the list then no operation needs to be done.) 4x=> delete all element x 's in the list 5=> print the list Indexing will be zero based. If the initial list is "empty" then that means that the list is initially empty. Output The output will be the printed output everytime 5 is called. Limits 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
