Comments on: check if all nodes of a tree has only one child https://demo.ritambhara.in/check-if-all-nodes-of-a-tree-has-only-one-child/ Coding / System Design Interviews Fri, 29 Mar 2013 16:53:35 +0000 hourly 1 https://wordpress.org/?v=6.7.2 By: abc https://demo.ritambhara.in/check-if-all-nodes-of-a-tree-has-only-one-child/#comment-1805 Fri, 29 Mar 2013 16:53:35 +0000 http://www.ritambhara.in/?p=1421#comment-1805 In reply to abc.

modifying statement:
{50, 25, 45, 30, 27,26, 29} also satisfy your algorithm but is not the tree with all nodes except last having only one child

]]>
By: abc https://demo.ritambhara.in/check-if-all-nodes-of-a-tree-has-only-one-child/#comment-1804 Fri, 29 Mar 2013 16:51:06 +0000 http://www.ritambhara.in/?p=1421#comment-1804 {50, 25, 45, 30, 27,26, 29} also satisfy your algorithm but is not the tree with all nodes having child

]]>