Comments on: Print edge nodes (boundary nodes) of a Binary Tree https://demo.ritambhara.in/print-edge-nodes-boundary-nodes-of-a-binary-tree/ Coding / System Design Interviews Wed, 01 May 2019 13:30:22 +0000 hourly 1 https://wordpress.org/?v=6.7.2 By: Shakti Raj Pandey https://demo.ritambhara.in/print-edge-nodes-boundary-nodes-of-a-binary-tree/#comment-1846 Wed, 01 May 2019 13:30:22 +0000 http://www.ritambhara.in/?p=1761#comment-1846 I think it will not work for
5
/ \
6 7
/ \ / \
8 9 10 11
/ \ \
16 14 13
/
15
/
21

]]>
By: Kamal Rawat https://demo.ritambhara.in/print-edge-nodes-boundary-nodes-of-a-binary-tree/#comment-1845 Sat, 29 Jun 2013 09:44:14 +0000 http://www.ritambhara.in/?p=1761#comment-1845 In reply to Rohit Kumar.

Thanks for pointing it out.. updated it..

]]>
By: Rohit Kumar https://demo.ritambhara.in/print-edge-nodes-boundary-nodes-of-a-binary-tree/#comment-1844 Fri, 28 Jun 2013 11:31:03 +0000 http://www.ritambhara.in/?p=1761#comment-1844 a little correction in printLeaveNode() function……second conditon should be.
if ( (root->lptr == NULL) && (root->rptr == NULL) ).

]]>