Home > Back-end >  Help, help me write the code
Help, help me write the code

Time:04-07

Required to achieve a singly linked list, complete the following requirements:

The first line of input a integer N

The second line of input N integers a [0] - a/N - 1

The third line, enter an integer M

The next input a number p, delete a [p], forming a new series b, output the sequence,

Then input a number q, delete b [q], the output new series c...

And so on, carries on the M times