构建avl树,什么是avl树旋转 [英] construct avl trees and what is avl trees rotation

查看:110
本文介绍了构建avl树,什么是avl树旋转的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

构造avl树时avl树轮换是什么...

what is avl trees rotations while constrcuting avl trees...

推荐答案

请参见

我闻到了功课!

Google,我的朋友:Google.
至少看看Wiki,它有一个关于
AVL树 [树旋转 [^ ].

您不能指望别人会为您完成所有工作:这就是为什么您是学生...
I smell homework!

Google, my friend: Google.
At least have a look at Wiki, which has a section on AVL trees[^], and Tree rotation[^].

You can''t expect people to do all your work for you: that is why you are a student...


问题并非完全不正确,但可以大大改善.您应该重新编写它:

什么是Wikipedia,Google,CodeProject和StackOverflow.com?"
如果您提出要求并获得了很好的答案,就不需要像您原来的问题了!

(您的情况就是:
http://en.wikipedia.org/wiki/Avl_tree [ http://en.wikipedia.org/wiki/Tree_rotation [
The Question in not completely incorrect, but can be greatly improved. You should have re-formulated it:

"What are Wikipedia, Google, CodeProject and StackOverflow.com?"
If you asked and got good Answers, the Questions like your original one would not be needed!

(In your case, all you need is this:
http://en.wikipedia.org/wiki/Avl_tree[^],
http://en.wikipedia.org/wiki/Tree_rotation[^].
Sorry for repeating what Griff is already posted.)

—SA


这篇关于构建avl树,什么是avl树旋转的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆