Thus far, we have seen the demonstration of a single queue, but several practical applications in computer science needs several queues. Multi queue is data structure in which multiple queues are maintained. This type of data structures are utilized for process scheduling. We might use one dimensional array or multidimensional array to illustrated a multiple queue.
Figure: Multiple queues in an array
A multi queue implementation by using a single dimensional array along m elements is illustrated in Figure 6. Each of queues contains n elements that are mapped to a liner array of m elements.