Question: what are the advantages and disadvantages of queue in data structure?
Answer: Queues have the advantages of being able to handle multiple data types and they are both flexible and flexibility and fast. Moreover, queues can be of potentially infinite length compared with the use of fixed-length arrays.