What is the index of the right child of a node at index i in an Array representation of a Max heap? Assume the cell at index 0 is empty.单项选择题

A

a. i/2

B

b. 2i + 1

C

c. 2i

D

d. i-1

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!