Binary Trees implementation | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Binary Trees implementation

How to print the leaves nodes in a binary tree please help I’m crying

3rd Apr 2018, 9:26 AM
Moe A
Moe A - avatar
1 Answer
+ 2
Print all nodes in a binary tree having K leaves Given a binary tree and a integer value K, the task is to find all nodes in given binary tree having K leaves in subtree rooted with them. For details: https://www.geeksforgeeks.org/print-nodes-binary-tree-k-leaves/
3rd Apr 2018, 9:45 AM
📈SmileGoodHope📈
📈SmileGoodHope📈 - avatar