Skip to content

Commit

Permalink
change image
Browse files Browse the repository at this point in the history
  • Loading branch information
alezai committed Apr 17, 2016
1 parent 1428c75 commit 267d957
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes
2 changes: 1 addition & 1 deletion AVL Tree/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ AVL树是满足一定平衡条件的二叉查找树。
可以看出,1和4镜像对称,是发生在“外边”的情况,通过一次单旋转来完成调整,2和3镜像对称,是发生在“内部”的情况,通过双旋转来处理。

### 单旋转
![](/Users/alezai/Documents/GitRepo/Algorithm/AVL Tree/Image/屏幕快照 2016-03-21 12.39.59.png)
![](Image/SingleRotate.png)

### 双旋转
对于情形2,要左-右双旋,即先左旋,再右旋
Expand Down
2 changes: 1 addition & 1 deletion Binary Search Tree/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
二叉查找树是一颗满足下面条件的二叉树
`value[left] < value[root] < value[right]`
如下图所示
![](/Users/alezai/Documents/GitRepo/Algorithm/Binary Search Tree/Image/BinarySearchTree.png)
![](Image/BinarySearchTree.png)

## insert

Expand Down

0 comments on commit 267d957

Please sign in to comment.