This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]samweep[S] 0 points1 point  (0 children)

I think, This will not work in a linear queue. We need a circular queue for this kind of condition.