<br />
<b>Warning</b>:  Undefined array key "global_protection_id" in <b>/home/wikitechy/public_html/interview-questions/wp-content/plugins/content-protector/inc/class-ps-rest-handler.php</b> on line <b>51</b><br />
{"id":489,"date":"2021-07-13T15:12:27","date_gmt":"2021-07-13T15:12:27","guid":{"rendered":"https:\/\/www.wikitechy.com\/interview-questions\/?p=489"},"modified":"2021-09-13T07:15:16","modified_gmt":"2021-09-13T07:15:16","slug":"what-is-queue-in-data-structure","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/what-is-queue-in-data-structure\/","title":{"rendered":"What is Queue in Data Structure ?"},"content":{"rendered":"<div class=\"TextHeading\">\n<div class=\"hddn\">\n<h2 id=\"what-is-queue-in-data-structure\" class=\"color-pink\" style=\"text-align: justify;\">What is Queue in Data Structure ?<\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>A queue is a container of objects (a linear collection) that are inserted and removed according to the first-in first-out (FIFO) principle.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<div class=\"ImageContent\">\n<div class=\"hddn\"><img decoding=\"async\" class=\"img-responsive center-block aligncenter\" src=\"https:\/\/cdn.wikitechy.com\/interview-questions\/data-structure\/first-in-first-out.gif\" alt=\"Queue(FIFO)\" \/><\/div>\n<\/div>\n<ul>\n<li>Here the first element is inserted from one end called REAR and deleted from the other end called as FRONT.<\/li>\n<li>Front points to the beginning of the queue and Rear points to the end of the queue.<\/li>\n<\/ul>\n<div class=\"ImageContent\">\n<div class=\"hddn\"><img decoding=\"async\" class=\"img-responsive center-block\" src=\"https:\/\/cdn.wikitechy.com\/interview-questions\/data-structure\/what-is-enqueue-dequeue.gif\" alt=\"Enqueue Dequeue\" \/><\/div>\n<\/div>\n<div class=\"text-center row\">\n<div class=\"col-sm-12\">\n<div id=\"bsa-zone_1590522538159-8_123456\"><\/div>\n<\/div>\n<\/div>\n<div class=\"TextHeading\">\n<div class=\"hddn\">\n<h2 id=\"operations-on-queue\" class=\"color-green\">Operations on Queue<\/h2>\n<\/div>\n<\/div>\n<table class=\"table-bordered table-striped table table-responsive\">\n<tbody>\n<tr>\n<th>Operation<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td class=\"text-leftalign\">enqueue()<\/td>\n<td class=\"text-leftalign\">This function defines the operation for adding an element into queue.<\/td>\n<\/tr>\n<tr>\n<td class=\"text-leftalign\">dequeue()<\/td>\n<td class=\"text-leftalign\">This function defines the operation for removing an element from queue.<\/td>\n<\/tr>\n<tr>\n<td class=\"text-leftalign\">init()<\/td>\n<td class=\"text-leftalign\">This function is used for initializing the queue.<\/td>\n<\/tr>\n<tr>\n<td class=\"text-leftalign\">Front<\/td>\n<td class=\"text-leftalign\">Front is used to get the front data item from a queue.<\/td>\n<\/tr>\n<tr>\n<td class=\"text-leftalign\">Rear<\/td>\n<td class=\"text-leftalign\">Rear is used to get the last item from a queue.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"TextHeading\">\n<div class=\"hddn\">\n<h2 id=\"queue-implementation\" class=\"color-green\">Queue Implementation<\/h2>\n<\/div>\n<\/div>\n<div class=\"ImageContent\">\n<div class=\"hddn\"><img decoding=\"async\" class=\"img-responsive center-block aligncenter\" src=\"https:\/\/cdn.wikitechy.com\/interview-questions\/data-structure\/what-is-queue-in-data-structure.png\" alt=\" Queue in Data Structure\" \/><\/div>\n<\/div>\n<div class=\"Content\">\n<div class=\"hddn\">\n<ul>\n<li>Array is the easiest way to implement a queue. Queue can be also implemented using Linked List or Stack.<\/li>\n<li>Front and Rear of the queue point at the first index of the array. (Array index starts from 0).<\/li>\n<li>While adding an element into the queue, the Rear keeps on moving ahead and always points to the position where the next element will be inserted. Front remains at the first index.<\/li>\n<\/ul>\n<h2 id=\"sample-code\" class=\"color-blue\">Sample Code<\/h2>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <\/div> <pre class=\"language-javascript code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-javascript code-embed-code\">import java.io.*;<br\/>class Queue <br\/>{ <br\/>    int front, rear, size; <br\/>    int  capacity; <br\/>    int array[]; <br\/>       <br\/>    public Queue(int capacity) { <br\/>         this.capacity = capacity; <br\/>         front = this.size = 0;  <br\/>         rear = capacity - 1; <br\/>         array = new int[this.capacity]; <br\/>            <br\/>    } <br\/>       <br\/>    \/\/ Queue is full when size becomes equal to  <br\/>    \/\/ the capacity  <br\/>    boolean isFull(Queue queue) <br\/>    {  return (queue.size == queue.capacity); <br\/>    } <br\/>       <br\/>    \/\/ Queue is empty when size is 0 <br\/>    boolean isEmpty(Queue queue) <br\/>    {  return (queue.size == 0); } <br\/>       <br\/>    \/\/ Method to add an item to the queue.  <br\/>    \/\/ It changes rear and size <br\/>    void enqueue( int items) <br\/>    { <br\/>        if (isFull(this)) <br\/>            return; <br\/>        this.rear = (this.rear + 1)%this.capacity; <br\/>        this.array[this.rear] = items; <br\/>        this.size = this.size + 1; <br\/>        System.out.println(items+ &quot; enqueued to the queue&quot;); <br\/>    } <br\/>       <br\/>    \/\/ Method to remove an item from queue.   <br\/>    \/\/ It changes front and size <br\/>    int dequeue() <br\/>    { <br\/>        if (isEmpty(this)) <br\/>            return Integer.MIN_VALUE; <br\/>           <br\/>        int item = this.array[this.front]; <br\/>        this.front = (this.front + 1)%this.capacity; <br\/>        this.size = this.size - 1; <br\/>        return item; <br\/>    } <br\/>       <br\/>    \/\/ Method to get front of queue <br\/>    int front() <br\/>    { <br\/>        if (isEmpty(this)) <br\/>            return Integer.MIN_VALUE; <br\/>           <br\/>        return this.array[this.front]; <br\/>    } <br\/>        <br\/>    \/\/ Method to get rear of queue <br\/>    int rear() <br\/>    { <br\/>        if (isEmpty(this)) <br\/>            return Integer.MIN_VALUE; <br\/>           <br\/>        return this.array[this.rear]; <br\/>    } <br\/>} <br\/>   <br\/>    <br\/>\/\/ Driver class <br\/>public class Test <br\/>{ <br\/>    public static void main(String[] args)  <br\/>    { <br\/>        Queue q1 = new Queue(1000); <br\/>            <br\/>        q1.enqueue(7); <br\/>        q1.enqueue(8); <br\/>        q1.enqueue(18); <br\/>        q1.enqueue(25); <br\/>        <br\/>        System.out.println(q1.dequeue() +  <br\/>                     &quot; dequeued from the queue\\n&quot;); <br\/>        <br\/>        System.out.println(&quot;Front item is &quot; +  <br\/>                               q1.front()); <br\/>           <br\/>        System.out.println(&quot;Rear item is &quot; +  <br\/>                                q1.rear()); <br\/>    } <br\/>}<\/code><\/pre> <\/div>\n<h2 id=\"output\" class=\"color-blue\">Output<\/h2>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <\/div> <pre class=\"language-markdown code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-markdown code-embed-code\">7 enqueued to the queue<br\/>8 enqueued to the queue<br\/>18 enqueued to the queue<br\/>12 enqueued to the queue<br\/>7 dequeued from the queue<br\/><br\/>Front item is 8<br\/>Rear item is 25<\/code><\/pre> <\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Answer : A queue is a container of objects (a linear collection) that are inserted&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"passster_activate_protection":false,"passster_protect_child_pages":"","passster_protection_type":"password","passster_password":"","passster_activate_overwrite_defaults":"","passster_headline":"","passster_instruction":"","passster_placeholder":"","passster_button":"","passster_id":"","passster_activate_misc_settings":"","passster_redirect_url":"","passster_hide":"no","passster_area_shortcode":"","gtb_hide_title":false,"gtb_wrap_title":false,"gtb_class_title":"","gtb_remove_headerfooter":false,"footnotes":""},"categories":[3028],"tags":[195,971,15897,3350,3359,3358,491,221,368,203,199,214,198,363,3351,3361,3057,3376,3369,205,3354,222,484,3054,196,3364,212,3360,3353,207,366,204,15928,3356,3355,3374,3368,3371,3370,3365,3352,3357,3375,3367,3377,3373,206,972,200,3055,3158,197,3363,3349,968,3056,285,969],"class_list":["post-489","post","type-post","status-publish","format-standard","hentry","category-data-structure","tag-accenture-interview-questions-and-answers","tag-altimetrik-india-pvt-ltd-interview-questions-and-answers","tag-apostek-software-interview-questions-and-answers","tag-application-of-queue-in-data-structure","tag-applications-of-circular-queue","tag-applications-of-queue-in-data-structure","tag-applied-materials-interview-questions-and-answers","tag-bharti-airtel-interview-questions-and-answers","tag-bmc-software-interview-questions-and-answers","tag-capgemini-interview-questions-and-answers","tag-casting-networks-india-pvt-limited-interview-questions-and-answers","tag-cgi-group-inc-interview-questions-and-answers","tag-chetu-interview-questions-and-answers","tag-ciena-corporation-interview-questions-and-answers","tag-circular-queue-in-data-structure","tag-circular-queue-in-data-structure-program","tag-collabera-te-interview-questions-and-answers","tag-data-queue","tag-define-queue","tag-dell-international-services-india-pvt-ltd-interview-questions-and-answers","tag-equeue-in-data-structure-using-c","tag-flipkart-interview-questions-and-answers","tag-genpact-interview-questions-and-answers","tag-globallogic-india-pvt-ltd-interview-questions-and-answers","tag-ibm-interview-questions-and-answers","tag-in-queue","tag-indecomm-global-services-interview-questions-and-answers","tag-insertion-and-deletion-in-circular-queue-in-data-structure","tag-insertion-and-deletion-in-queue-in-data-structur","tag-mphasis-interview-questions-and-answers","tag-netapp-interview-questions-and-answers","tag-oracle-corporation-interview-questions-and-answers","tag-paramatrix-interview-questions-and-answers","tag-queue-data-structure-in-c","tag-queue-data-structure-java","tag-queue-example","tag-queue-implementation","tag-queue-implementation-in-c","tag-queue-in-a-sentence","tag-queue-in-c","tag-queue-in-data-structure","tag-queue-in-data-structure-using-c","tag-queue-operations","tag-queued-definition","tag-queuing-analysis","tag-queuing-process","tag-sap-labs-india-pvt-ltd-interview-questions-and-answers","tag-sapient-consulting-pvt-ltd-interview-questions-and-answers","tag-tech-mahindra-interview-questions-and-answers","tag-tracxn-technologies-pvt-ltd-interview-questions-and-answers","tag-types-of-queue-in-data-structure","tag-unitedhealth-group-interview-questions-and-answers","tag-what-is-queue","tag-what-is-queue-in-data-structure","tag-wipro-infotech-interview-questions-and-answers","tag-wm-global-technology-services-india-pvt-ltd-limited-wmgts-interview-questions-and-answers","tag-xoriant-solutions-pvt-ltd-interview-questions-and-answers","tag-yodlee-infotech-pvt-ltd-interview-questions-and-answers"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is Queue in Data Structure ? - Data Structure - Wikitechy<\/title>\n<meta name=\"description\" content=\"What is Queue in Data Structure ? - A queue is a container of objects (a linear collection) that are inserted and removed according to the first-in first-out (FIFO) principle\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/what-is-queue-in-data-structure\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Queue in Data Structure ? - Data Structure - Wikitechy\" \/>\n<meta property=\"og:description\" content=\"What is Queue in Data Structure ? - A queue is a container of objects (a linear collection) that are inserted and removed according to the first-in first-out (FIFO) principle\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/what-is-queue-in-data-structure\/\" \/>\n<meta property=\"og:site_name\" content=\"Wikitechy\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-13T15:12:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-13T07:15:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.wikitechy.com\/interview-questions\/data-structure\/first-in-first-out.gif\" \/>\n<meta name=\"author\" content=\"Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Editor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/what-is-queue-in-data-structure\/\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/what-is-queue-in-data-structure\/\",\"name\":\"What is Queue in Data Structure ? - Data Structure - Wikitechy\",\"isPartOf\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/what-is-queue-in-data-structure\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/what-is-queue-in-data-structure\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/data-structure\/first-in-first-out.gif\",\"datePublished\":\"2021-07-13T15:12:27+00:00\",\"dateModified\":\"2021-09-13T07:15:16+00:00\",\"author\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757\"},\"description\":\"What is Queue in Data Structure ? - A queue is a container of objects (a linear collection) that are inserted and removed according to the first-in first-out (FIFO) principle\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/what-is-queue-in-data-structure\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/what-is-queue-in-data-structure\/#primaryimage\",\"url\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/data-structure\/first-in-first-out.gif\",\"contentUrl\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/data-structure\/first-in-first-out.gif\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/\",\"name\":\"Wikitechy\",\"description\":\"Interview Questions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757\",\"name\":\"Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"caption\":\"Editor\"},\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Queue in Data Structure ? - Data Structure - Wikitechy","description":"What is Queue in Data Structure ? - A queue is a container of objects (a linear collection) that are inserted and removed according to the first-in first-out (FIFO) principle","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/what-is-queue-in-data-structure\/","og_locale":"en_US","og_type":"article","og_title":"What is Queue in Data Structure ? - Data Structure - Wikitechy","og_description":"What is Queue in Data Structure ? - A queue is a container of objects (a linear collection) that are inserted and removed according to the first-in first-out (FIFO) principle","og_url":"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/what-is-queue-in-data-structure\/","og_site_name":"Wikitechy","article_published_time":"2021-07-13T15:12:27+00:00","article_modified_time":"2021-09-13T07:15:16+00:00","og_image":[{"url":"https:\/\/cdn.wikitechy.com\/interview-questions\/data-structure\/first-in-first-out.gif"}],"author":"Editor","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Editor","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/what-is-queue-in-data-structure\/","url":"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/what-is-queue-in-data-structure\/","name":"What is Queue in Data Structure ? - Data Structure - Wikitechy","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/what-is-queue-in-data-structure\/#primaryimage"},"image":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/what-is-queue-in-data-structure\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.wikitechy.com\/interview-questions\/data-structure\/first-in-first-out.gif","datePublished":"2021-07-13T15:12:27+00:00","dateModified":"2021-09-13T07:15:16+00:00","author":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757"},"description":"What is Queue in Data Structure ? - A queue is a container of objects (a linear collection) that are inserted and removed according to the first-in first-out (FIFO) principle","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/what-is-queue-in-data-structure\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/what-is-queue-in-data-structure\/#primaryimage","url":"https:\/\/cdn.wikitechy.com\/interview-questions\/data-structure\/first-in-first-out.gif","contentUrl":"https:\/\/cdn.wikitechy.com\/interview-questions\/data-structure\/first-in-first-out.gif"},{"@type":"WebSite","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website","url":"https:\/\/www.wikitechy.com\/interview-questions\/","name":"Wikitechy","description":"Interview Questions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757","name":"Editor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","caption":"Editor"},"url":"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/489","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/comments?post=489"}],"version-history":[{"count":3,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/489\/revisions"}],"predecessor-version":[{"id":3518,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/489\/revisions\/3518"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=489"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}