how to create a method in a binary tree structure to get the root number of a node

后端 未结 0 690
一个人的身影
一个人的身影 2021-01-03 00:00

here in my binary tree data structure:

//Every node has value and index
class Node {
    Node left,right;
    int index;
    T value;
    
          


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