Algorithms and Data Structures [30 Days] Training Camp - A Simple and Fast Method for Adjusting LL, RR, LR, and RL of Balanced Binary Trees (16)


insert image description here

Balanced Binary Tree

Definition of Balanced Binary Tree

If the data is arranged in order, the binary sorting tree is linear, and the time complexity of the search is O(n); on the contrary, if
the structure of the binary sorting tree is reasonable, the search speed is faster, and the time complexity of the search is O ( log 2 n )

Guess you like

Origin blog.csdn.net/weixin_47723732/article/details/127432674
Recommended