Monday 30 November 2015

Q36,p3,J15. The number of nodes of height h in any n element heap is--------

A) h
B)2^h
C) ceil(n/2^h)
D)ceil(n/(2^(h+1)).
Answer D.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.