tag:blogger.com,1999:blog-1754407834622405880.post8295332600957229983..comments2023-11-02T01:21:27.131-07:00Comments on Exceptional Code: Life on a Tree - Creating, Copying, and Pruning Tree Data StructuresGolam Kawsarhttp://www.blogger.com/profile/07551677609426133341noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-1754407834622405880.post-62389196217839972742017-09-13T07:48:40.110-07:002017-09-13T07:48:40.110-07:00Hi, your code look very good. Is it possible can y...Hi, your code look very good. Is it possible can you send code to my email alex.pham2010@gmail.comAlexhttps://www.blogger.com/profile/12037789618961720627noreply@blogger.comtag:blogger.com,1999:blog-1754407834622405880.post-15615193066870858632012-02-22T20:06:15.500-08:002012-02-22T20:06:15.500-08:00Thanks for your comment Rajib.
Yes, printTree wil...Thanks for your comment Rajib.<br /><br />Yes, printTree will print a right node as well. The call to printTree(root.getRightNode()) takes the execution to the right subtree of the current node. And if that node is not null the first thing it does is printing the data value on that node.Golam Kawsarhttps://www.blogger.com/profile/07551677609426133341noreply@blogger.comtag:blogger.com,1999:blog-1754407834622405880.post-7206977327967925012012-02-22T19:13:43.492-08:002012-02-22T19:13:43.492-08:00A very nice one -- thanks! I was just wondering wh...A very nice one -- thanks! I was just wondering whether printTree() will ever print a right node!<br /><br />RajibUnknownhttps://www.blogger.com/profile/11425477202616987097noreply@blogger.com