Some Problems
Some Problems
复制标题
DOI:
10.1090/pspum/052.2/1128539
复制
发表时间:
1938-02
期刊:
影响因子:
56.9
通讯作者:
Dennis Stanton
中科院分区:
文献类型:
--
作者:
Dennis Stanton
1. What is the average number of comparison’s to locate one of the items chosen at random in the binary tree below? e c h b d f a g 2. If the variables are suitably initialized, and if i remains within appropriate bounds, then the following code implements the stack operations Push and Pop when the stack is represented as an array V [1 . . . N ] with an index variable i. Push: begin V[i] := x ; i := i + 1 ; end