You can watch me live-code this data-structure on YouTube for better understanding.You can read the text and follow the video with it for clear understanding. A queue is an abstract Data-Structure where, a data item is inserted or added at one end. And, data item is removed from other end. To keep track of two […]
A simple queue implementation using array in java.
Queue is a data-structure, which follows the FIFO. It means ‘First In First Out’. The element which goes first in the array should be the first to come out. To achieve this process, we add elements at one end of the array and remove it from the other end. Things that we need to do while […]