{"id":1931,"date":"2024-07-22T09:10:34","date_gmt":"2024-07-22T09:10:34","guid":{"rendered":"https:\/\/britainwriters.com\/answers\/?p=1931"},"modified":"2024-07-22T09:10:36","modified_gmt":"2024-07-22T09:10:36","slug":"fixed-variable-stacks-and-queues-assignment","status":"publish","type":"post","link":"https:\/\/britainwriters.com\/answers\/fixed-variable-stacks-and-queues-assignment\/","title":{"rendered":"Fixed &amp; Variable Stacks and Queues Assignment"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\"><strong>Assignment Task<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A) Fixed-sized Stack<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your task for Part A is to fully implement the \u201cBookFixedStack\u201d class. The BookFixedStack class is a fixed stack that holds Book objects. This stack class is initialized to a fixed size \u2013 the \u201ctop\u201d variable indicates the top of the stack.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(Note that if the stack is empty, top should be -1).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The fixed stack methods that need to be implemented are as follows:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>public boolean push(Book book)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Push \u201cbook\u201d onto the stack; return null of the stack is full.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>public Book pop()<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Remove the top Book from the stack and return it. Return null if the stack is empty.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>public Book peek()<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Return a reference to the top Book on the stack. Return null if the stack is empty.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>public boolean isEmpty()<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Return true of the stack is empty, false otherwise.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>public boolean isFull()<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Return true of the stack is full, false otherwise.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>B) Variable-sized Stack<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your task for Part B is to fully implement the \u201cBookVariableStack\u201d class. The BookVariableStack class is a variable-sized (i.e., resizable) stack that holds Book objects. This stack class is initialized to a starting size \u2013 the \u201ctop\u201d variable indicates the top of the stack. (Note that if the stack is empty, top should be -1).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The fixed stack methods that need to be implemented are as follows:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>public void push(Book book)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If the stack is \u201cfull\u201d (at current capacity), expand the stack. Then push \u201cbook\u201d onto the stack.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>private void expand()<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Double the capacity of the stack. (Be sure to create the new array, copy the existing content to the new array, set the stack\u2019s array reference to the new array, and update the capacity data field).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>public Book pop()<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Remove the top Book from the stack and return it. Return null if the stack is empty. If the resulting stack content size is less than half of the capacity, shrink the stack.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>private void shrink()<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Set the stack capacity to half the current capacity. If the resulting capacity is less than 1, set the capacity to 1. (Be sure to create the new array, copy the existing content to the new array, set the stack\u2019s array reference to the new array, and update the capacity data field).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>public Book peek()<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Return a reference to the top Book on the stack. Return null if the stack is empty.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>public boolean isEmpty()<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Return true of the stack is empty, false otherwise.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>public boolean isFull()<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Return true of the stack is full, false otherwise.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>public int size()&nbsp;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>C) Implement Queue<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your task for this assignment to fully implement the \u201cPersonQueue\u201d class. The PersonQueue class is a FIFO queue that holds Person objects. This queue does not have a fixed size \u2013 the \u201chead\u201d variable points to the first Person in the queue (next to be removed) and the \u201ctail\u201d variable points to the last Person in the queue (last to be removed). Note that if the stack is empty, head and tail should be null.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The queue methods that need to be implemented are as follows:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>public void enqueue(Person person)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add the \u201cperson\u201d to the end of the queue (the new element becomes tail).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>public Person dequeue()<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Remove the Person object at the \u201chead\u201d of the queue and return it. The next element in the queue becomes \u201chead\u201d. Return null if the queue is empty.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>public Person peek()<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Return a reference to the Person object at the \u201chead\u201d of the queue. Return null if the queue is empty.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>public boolean isEmpty()<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Return true if the queue is empty, false otherwise.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>public int size()<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Return the number of elements in the queue. Return 0 if the queue is empty.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>public void reverseInPlace()<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Reverse the elements in the queue using the \u201creverse-in-place\u201d technique.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>public void clear()<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Remove all existing elements from the queue, resetting the queue to its initial state (empty)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>public int removeAgeBelow(int value)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Remove any elements from the queue whose Person object\u2019s age is less than the \u201cvalue\u201d parameter passed in. Return the size of the resulting queue.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Assignment Task A) Fixed-sized Stack Your task for Part A is to fully implement the \u201cBookFixedStack\u201d class. The BookFixedStack class is a fixed stack that holds Book objects. This stack class is initialized to a fixed size \u2013 the \u201ctop\u201d variable indicates the top of the stack. (Note that if the stack is empty, top [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1931","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Fixed &amp; Variable Stacks and Queues Assignment - My Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/britainwriters.com\/answers\/fixed-variable-stacks-and-queues-assignment\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fixed &amp; Variable Stacks and Queues Assignment - My Blog\" \/>\n<meta property=\"og:description\" content=\"Assignment Task A) Fixed-sized Stack Your task for Part A is to fully implement the \u201cBookFixedStack\u201d class. The BookFixedStack class is a fixed stack that holds Book objects. This stack class is initialized to a fixed size \u2013 the \u201ctop\u201d variable indicates the top of the stack. (Note that if the stack is empty, top [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/britainwriters.com\/answers\/fixed-variable-stacks-and-queues-assignment\/\" \/>\n<meta property=\"og:site_name\" content=\"My Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-22T09:10:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-22T09:10:36+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/fixed-variable-stacks-and-queues-assignment\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/fixed-variable-stacks-and-queues-assignment\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/#\\\/schema\\\/person\\\/c698e0f0b4a723b0d250ea199e68a6d3\"},\"headline\":\"Fixed &amp; Variable Stacks and Queues Assignment\",\"datePublished\":\"2024-07-22T09:10:34+00:00\",\"dateModified\":\"2024-07-22T09:10:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/fixed-variable-stacks-and-queues-assignment\\\/\"},\"wordCount\":679,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/#organization\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/britainwriters.com\\\/answers\\\/fixed-variable-stacks-and-queues-assignment\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/fixed-variable-stacks-and-queues-assignment\\\/\",\"url\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/fixed-variable-stacks-and-queues-assignment\\\/\",\"name\":\"Fixed &amp; Variable Stacks and Queues Assignment - My Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/#website\"},\"datePublished\":\"2024-07-22T09:10:34+00:00\",\"dateModified\":\"2024-07-22T09:10:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/fixed-variable-stacks-and-queues-assignment\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/britainwriters.com\\\/answers\\\/fixed-variable-stacks-and-queues-assignment\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/fixed-variable-stacks-and-queues-assignment\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fixed &amp; Variable Stacks and Queues Assignment\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/#website\",\"url\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/\",\"name\":\"My Blog\",\"description\":\"My WordPress Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/#organization\",\"name\":\"My Blog\",\"url\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/bw-logo.png\",\"contentUrl\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/bw-logo.png\",\"width\":379,\"height\":81,\"caption\":\"My Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/#\\\/schema\\\/person\\\/c698e0f0b4a723b0d250ea199e68a6d3\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9c8389b9a2505b8a25de6eb6bd63d1b3bd34e49d8d91d40d9935e77bdb797c34?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9c8389b9a2505b8a25de6eb6bd63d1b3bd34e49d8d91d40d9935e77bdb797c34?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9c8389b9a2505b8a25de6eb6bd63d1b3bd34e49d8d91d40d9935e77bdb797c34?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/britainwriters.com\\\/website\"],\"url\":\"https:\\\/\\\/britainwriters.com\\\/answers\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fixed &amp; Variable Stacks and Queues Assignment - My Blog","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:\/\/britainwriters.com\/answers\/fixed-variable-stacks-and-queues-assignment\/","og_locale":"en_US","og_type":"article","og_title":"Fixed &amp; Variable Stacks and Queues Assignment - My Blog","og_description":"Assignment Task A) Fixed-sized Stack Your task for Part A is to fully implement the \u201cBookFixedStack\u201d class. The BookFixedStack class is a fixed stack that holds Book objects. This stack class is initialized to a fixed size \u2013 the \u201ctop\u201d variable indicates the top of the stack. (Note that if the stack is empty, top [&hellip;]","og_url":"https:\/\/britainwriters.com\/answers\/fixed-variable-stacks-and-queues-assignment\/","og_site_name":"My Blog","article_published_time":"2024-07-22T09:10:34+00:00","article_modified_time":"2024-07-22T09:10:36+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/britainwriters.com\/answers\/fixed-variable-stacks-and-queues-assignment\/#article","isPartOf":{"@id":"https:\/\/britainwriters.com\/answers\/fixed-variable-stacks-and-queues-assignment\/"},"author":{"name":"admin","@id":"https:\/\/britainwriters.com\/answers\/#\/schema\/person\/c698e0f0b4a723b0d250ea199e68a6d3"},"headline":"Fixed &amp; Variable Stacks and Queues Assignment","datePublished":"2024-07-22T09:10:34+00:00","dateModified":"2024-07-22T09:10:36+00:00","mainEntityOfPage":{"@id":"https:\/\/britainwriters.com\/answers\/fixed-variable-stacks-and-queues-assignment\/"},"wordCount":679,"commentCount":0,"publisher":{"@id":"https:\/\/britainwriters.com\/answers\/#organization"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/britainwriters.com\/answers\/fixed-variable-stacks-and-queues-assignment\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/britainwriters.com\/answers\/fixed-variable-stacks-and-queues-assignment\/","url":"https:\/\/britainwriters.com\/answers\/fixed-variable-stacks-and-queues-assignment\/","name":"Fixed &amp; Variable Stacks and Queues Assignment - My Blog","isPartOf":{"@id":"https:\/\/britainwriters.com\/answers\/#website"},"datePublished":"2024-07-22T09:10:34+00:00","dateModified":"2024-07-22T09:10:36+00:00","breadcrumb":{"@id":"https:\/\/britainwriters.com\/answers\/fixed-variable-stacks-and-queues-assignment\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/britainwriters.com\/answers\/fixed-variable-stacks-and-queues-assignment\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/britainwriters.com\/answers\/fixed-variable-stacks-and-queues-assignment\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/britainwriters.com\/answers\/"},{"@type":"ListItem","position":2,"name":"Fixed &amp; Variable Stacks and Queues Assignment"}]},{"@type":"WebSite","@id":"https:\/\/britainwriters.com\/answers\/#website","url":"https:\/\/britainwriters.com\/answers\/","name":"My Blog","description":"My WordPress Blog","publisher":{"@id":"https:\/\/britainwriters.com\/answers\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/britainwriters.com\/answers\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/britainwriters.com\/answers\/#organization","name":"My Blog","url":"https:\/\/britainwriters.com\/answers\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/britainwriters.com\/answers\/#\/schema\/logo\/image\/","url":"https:\/\/britainwriters.com\/answers\/wp-content\/uploads\/2023\/12\/bw-logo.png","contentUrl":"https:\/\/britainwriters.com\/answers\/wp-content\/uploads\/2023\/12\/bw-logo.png","width":379,"height":81,"caption":"My Blog"},"image":{"@id":"https:\/\/britainwriters.com\/answers\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/britainwriters.com\/answers\/#\/schema\/person\/c698e0f0b4a723b0d250ea199e68a6d3","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/9c8389b9a2505b8a25de6eb6bd63d1b3bd34e49d8d91d40d9935e77bdb797c34?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/9c8389b9a2505b8a25de6eb6bd63d1b3bd34e49d8d91d40d9935e77bdb797c34?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9c8389b9a2505b8a25de6eb6bd63d1b3bd34e49d8d91d40d9935e77bdb797c34?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/britainwriters.com\/website"],"url":"https:\/\/britainwriters.com\/answers\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/britainwriters.com\/answers\/wp-json\/wp\/v2\/posts\/1931","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/britainwriters.com\/answers\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/britainwriters.com\/answers\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/britainwriters.com\/answers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/britainwriters.com\/answers\/wp-json\/wp\/v2\/comments?post=1931"}],"version-history":[{"count":1,"href":"https:\/\/britainwriters.com\/answers\/wp-json\/wp\/v2\/posts\/1931\/revisions"}],"predecessor-version":[{"id":1932,"href":"https:\/\/britainwriters.com\/answers\/wp-json\/wp\/v2\/posts\/1931\/revisions\/1932"}],"wp:attachment":[{"href":"https:\/\/britainwriters.com\/answers\/wp-json\/wp\/v2\/media?parent=1931"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/britainwriters.com\/answers\/wp-json\/wp\/v2\/categories?post=1931"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/britainwriters.com\/answers\/wp-json\/wp\/v2\/tags?post=1931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}