Question: what are queue explain its types?
Answer: The basic queue operations are enqueue (insertion) and dequeue (deletion). ... The elements in a queue are arranged sequentially and hence queues are said to be linear data structures. The practical examples of queues are. The consumer who comes first to a shop will be served first.