Imagine Cup 2005 Algorithms Invitational 算法邀请赛(初赛练习题)
所在版块:技术の宅 发贴时间:2005-01-04 17:41

用户信息
复制本帖HTML代码
高亮: 今天贴 X 昨天贴 X 前天贴 X 
Sample questions

Algorithm Analysis
How does the height of a binary search tree grow, compared to the number of nodes in the tree?
a) Always linear
b) Always logarithmic
c) Linear only if the tree is balanced
d) Logarithmic only if the tree is balanced
e) None of the above

Algorithm Analysis -

Which of the following sorting algorithms is the least dependent on the initial ordering of the input, in terms of the algorithm's running time?

a) Insertion Sort
b) Quicksort
c) Merge Sort
d) Selection Sort
e) Shell Sort

Probability -

P speaks truth in 85% of the cases and Q in 70% of the cases. What is the percentage of cases in which they are likely to contradict each other in stating the same fact?

a) 20%
b) 24%
c) 36%
d) 42%
e) None of these
.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!

War is peace.
Freedom is slavery.
Ignorance is strength.
 相关帖子 我要回复↙ ↗回到正文
Imagine Cup 2005 Algorithms Invitational 算法邀请赛(初赛练习题) SmellsLikeTeenSpirit   (765 bytes , 387reads )
my trial 反动派   (27 bytes , 258reads )
ddc 吴永铮   (235 bytes , 197reads )