spliting a binary search tree in half in O(h) time complexity

前端 未结 0 1207
灰色年华
灰色年华 2020-12-19 17:47

I am practicing binary search trees and i have to answer a problem: A tree struct is given as

struct tree{
    int key;
    int lcnt;
    struct tree *lc;
            


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