As you can see from the title I want to remove a element from a queue which is implemented using arrays.
So for example if I have:
array[]={1,5,4,3,2}