Algorithm that accepts a general tree as input and converts it into a binary tree and prints the leaf nodes of both the trees

前端 未结 0 705
暗喜
暗喜 2021-01-22 16:03

I want the code for the algorithm preferably in C/C++.

Input - General tree and process (convert) to binary tree. Output - Leaf nodes of both the trees.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题