why are we not using a vector or a dynamic array with variable size for implementing queues ?
Doubt regarding queues
Hey Avanik, can you mention the video’s exact name which you are talking about.
In algo++ course in queues introduction video and queues implementation video sir told that we cannot use vectors or a dynamic array of changeable size to implement queues and told to explain the reason but it was not explained.
Hey Avanik, its told just after that at time stamp 4:06 , we don’t use vectors or dynamic array because we want our queue to be of fixed size, that’s why we are taking a fixed size array instead of vectors or dynamic array.