算法和数据结构里面,AVL-tree概念的问题,An operation for an application that uses an AVL-tree is of O(log2 N) time.It takes about 50milliseconds to run on a collection of 10,000 elements.How long would you expect it wouldtake to run on a

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/05 04:02:02
算法和数据结构里面,AVL-tree概念的问题,An operation for an application that uses an AVL-tree is of O(log2 N) time.It takes about 50milliseconds to run on a collection of 10,000 elements.How long would you expect it wouldtake to run on a

算法和数据结构里面,AVL-tree概念的问题,An operation for an application that uses an AVL-tree is of O(log2 N) time.It takes about 50milliseconds to run on a collection of 10,000 elements.How long would you expect it wouldtake to run on a
算法和数据结构里面,AVL-tree概念的问题,
An operation for an application that uses an AVL-tree is of O(log2 N) time.It takes about 50
milliseconds to run on a collection of 10,000 elements.How long would you expect it would
take to run on a collection of 100,000 elements?
Note:You can give your answer as an expression that involves mathematical functions.In
other words,you do not to calculate its numerical value.

算法和数据结构里面,AVL-tree概念的问题,An operation for an application that uses an AVL-tree is of O(log2 N) time.It takes about 50milliseconds to run on a collection of 10,000 elements.How long would you expect it wouldtake to run on a
使用avl-tree的应用程序中的一个操作的时间复杂度为O(log2N).在一个有10000个元素的数据集中运行(查找),他需要花费大约50ms.那么请问,如果在有100000个元素的数据集中运行(查找)它大约需要花费多少时间?
注意:你的答案中可以保留数学函数,也即,你无需计算出具体的数值
答:应花50 * log2(100000) / log2(10000) ms