How can I read a binary tree in C++ using this input?

后端 未结 0 630
梦谈多话
梦谈多话 2020-12-07 19:21

Here is the file that I am reading from:
5
1 2 3
2 4 0
3 0 0
4 0 5
5 0 0

5 is the number of nodes and then the nodes with

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