1 min readMay 23, 2019
the article is good enough but there is one problem in queue data structure implementation. i.e. your lastcount and count value is not resetting when we are enqueue and dequeue the values in the queue.
the article is good enough but there is one problem in queue data structure implementation. i.e. your lastcount and count value is not resetting when we are enqueue and dequeue the values in the queue.