{"id":26820,"date":"2017-12-26T20:24:30","date_gmt":"2017-12-26T14:54:30","guid":{"rendered":"https:\/\/www.wikitechy.com\/technology\/?p=26820"},"modified":"2017-12-26T20:24:30","modified_gmt":"2017-12-26T14:54:30","slug":"queue-in-data-structure","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/technology\/queue-in-data-structure\/","title":{"rendered":"Queue in Data Structure"},"content":{"rendered":"<p>A queue or FIFO (first in, first out) is an abstract data type that serves as a collection of elements, with two principal operations: enqueue, the process of adding an element to the collection.(The element is added from the rear side) and dequeue, the process of removing the first element that was added. (The element is removed from the front side). It can be implemented by using both array and linked list<\/p>\n<ol>\n<li><a href=\"http:\/\/geeksquiz.com\/queue-set-1introduction-and-array-implementation\/\" target=\"_blank\" rel=\"noopener noreferrer\">Queue Introduction and Array Implementation<\/a><\/li>\n<li><a href=\"http:\/\/geeksquiz.com\/queue-set-2-linked-list-implementation\/\" target=\"_blank\" rel=\"noopener noreferrer\">Linked List Implementation of Queue<\/a><\/li>\n<li><a href=\"http:\/\/www.geeksforgeeks.org\/archives\/11042\">Applications of Queue Data Structure<\/a><\/li>\n<li><a href=\"http:\/\/geeksquiz.com\/priority-queue-set-1-introduction\/\" rel=\"bookmark\">Priority Queue Introduction<\/a><\/li>\n<li><a href=\"http:\/\/geeksquiz.com\/deque-set-1-introduction-applications\/\" rel=\"bookmark\">Deque (Introduction and Applications)<\/a><\/li>\n<li><a href=\"http:\/\/www.geeksforgeeks.org\/implementation-deque-using-circular-array\/\">Implementation of Deque using circular array<\/a><\/li>\n<li><a href=\"http:\/\/www.geeksforgeeks.org\/archives\/5009\">Implement Queue using Stacks<\/a><\/li>\n<li><a href=\"http:\/\/www.geeksforgeeks.org\/archives\/23449\">Check whether a given Binary Tree is Complete or not<\/a><\/li>\n<li><a href=\"http:\/\/www.geeksforgeeks.org\/find-the-largest-number-multiple-of-3\/\" target=\"_blank\" rel=\"noopener noreferrer\">Find the largest multiple of 3<\/a><\/li>\n<li><a href=\"http:\/\/www.geeksforgeeks.org\/find-a-tour-that-visits-all-stations\/\" target=\"_blank\" rel=\"noopener noreferrer\">Find the first circular tour that visits all petrol pumps<\/a><\/li>\n<li><a href=\"http:\/\/www.geeksforgeeks.org\/maximum-of-all-subarrays-of-size-k\/\" target=\"_blank\" rel=\"noopener noreferrer\">Maximum of all subarrays of size k<\/a><\/li>\n<li><a href=\"http:\/\/www.geeksforgeeks.org\/interesting-method-generate-binary-numbers-1-n\/\" rel=\"bookmark\">An Interesting Method to Generate Binary Numbers from 1 to n<\/a><\/li>\n<li><a href=\"http:\/\/www.geeksforgeeks.org\/efficiently-implement-k-queues-single-array\/\" rel=\"bookmark\">How to efficiently implement k Queues in a single array?<\/a><\/li>\n<li><a href=\"http:\/\/www.geeksforgeeks.org\/minimum-time-required-so-that-all-oranges-become-rotten\/\">Minimum time required to rot all oranges<\/a><\/li>\n<li><a href=\"http:\/\/www.geeksforgeeks.org\/iterative-method-to-find-height-of-binary-tree\/\">Iterative Method to find Height of Binary Tree<\/a><\/li>\n<li><a href=\"http:\/\/www.geeksforgeeks.org\/given-linked-list-representation-of-complete-tree-convert-it-to-linked-representation\/\">Construct Complete Binary Tree from its Linked List Representation<\/a><\/li>\n<li><a href=\"http:\/\/www.geeksforgeeks.org\/implement-lru-cache\/\">Implement LRU Cache<\/a><\/li>\n<li><a href=\"http:\/\/www.geeksforgeeks.org\/breadth-first-traversal-for-a-graph\/\">Breadth First Traversal for a Graph<\/a><\/li>\n<li>Implement a stack using single queue<\/li>\n<\/ol>\n[ad type=\u201dbanner\u201d]\n","protected":false},"excerpt":{"rendered":"<p>Queue in Data Structure A queue or FIFO (first in, first out) is an abstract data type that serves as a collection of elements, with two principal<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73012,28],"tags":[79664,75618,80122,80123,80120,73338,80121,79507],"class_list":["post-26820","post","type-post","status-publish","format-standard","hentry","category-data-structures","category-sql-server","tag-application-of-queue-in-data-structure","tag-circular-queue-in-data-structure","tag-queue-in-data-structure-pdf","tag-queue-in-data-structure-ppt","tag-queue-in-data-structure-using-c","tag-stack-in-data-structure","tag-types-of-queue-in-data-structure","tag-what-is-linked-list-in-data-structure"],"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts\/26820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/comments?post=26820"}],"version-history":[{"count":0,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts\/26820\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/media?parent=26820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/categories?post=26820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/tags?post=26820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}