Comments on: Counting leaf nodes of a Binary Tree https://demo.ritambhara.in/counting-leaf-nodes-of-a-binary-tree/ Coding / System Design Interviews Fri, 25 Mar 2016 16:19:26 +0000 hourly 1 https://wordpress.org/?v=6.7.2 By: Anand https://demo.ritambhara.in/counting-leaf-nodes-of-a-binary-tree/#comment-1694 Fri, 25 Mar 2016 16:19:26 +0000 http://www.ritambhara.in/?p=181#comment-1694 you can also add that one line.. how you can call this in main function. that’s where i got stucked.

]]>
By: Non-leaf nodes of a binary tree | Ritambhara https://demo.ritambhara.in/counting-leaf-nodes-of-a-binary-tree/#comment-1693 Tue, 12 Jun 2012 06:14:04 +0000 http://www.ritambhara.in/?p=181#comment-1693 […] I have written a post to count the number of leaf nodes in the binary tree. The function to count the non-leaf nodes will be complement of the function to counting leaf […]

]]>
By: Basic Tree Traversals (Preorder, Inorder, Postorder) | Ritambhara https://demo.ritambhara.in/counting-leaf-nodes-of-a-binary-tree/#comment-1692 Mon, 11 Jun 2012 17:45:06 +0000 http://www.ritambhara.in/?p=181#comment-1692 […] earlier questions related to tree, “Counting number of leaf nodes” and “Has-Path sum problem“, I have written that tree algorithms are better […]

]]>