in DS
968 views
0 votes
0 votes

Doubt: dequeue really deletes the element or just moves the pointer? I'm not getting the answer.

in DS
968 views

4 Comments

@techbd123

Checkout this question, please.

0
0

What @Roshan Pawar said in the first comment is absolutely right. The question has a problem. It should say the array had indices from $0$ to $5$ as it could hold $6$ elements. Besides, the question is similar to this.

0
0
Right.

Thanks.
0
0

Please log in or register to answer this question.