Sir why we decrement the “size” during dequeue.Could you explain it, please. What happens if we do not decrement it
Queue using array
@adi8.sahu
we are decreasing the size because the element is removed from the array. the size size of the queue should also decrease.