How to get the left and right child of a node in an unordered binary search tree?

后端 未结 0 1634
难免孤独
难免孤独 2020-11-27 23:02

I\'m stuck with this problem: The method below must return the value in the left child node, or -1 if it not exist.

public int getLeftChild(int el) {...}
/* S         


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