Back to General discussions forum
Hello guys,
I don't know why my code givens an answer diferent from the answer gives by site.
I' m Looking Foward any help.
Thanks!
The problem statement includes a full example for n=10
and k=3
.
Use those inputs for your program, print the list (l2
) everytime you remove (pop) an item from it and see where/why it goes wrong.