how to add index for a binary tree in java?

前端 未结 0 819
臣服心动
臣服心动 2020-12-29 20:08

In my case, I want to create a binary tree by taking the depth as the input.

class BTreeNode {
    BTreeNode left,right;
    int index;
             


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