0 votes 0 votes In any n-element heap, the number of nodes of height h is, less than equal to $\biggl[ \frac{n}{2^h} \biggr]$ greater than $\biggl[ \frac{n}{2^h} \biggl]$ greater than $\biggl[ \frac{n}{2^h+1} \biggr]$ less than equal to $\biggl [ \frac{n}{2^h+1} \biggr]$ DS ugcnetcse-june2013-paper3 data-structures binary-heap + – go_editor asked Jul 16, 2016 • recategorized May 30, 2020 by Arjun go_editor 1.1k views answer comment Share Follow See 1 comment See all 1 1 comment reply Pun M commented Oct 15, 2017 i edited by Pun M Oct 15, 2017 reply Follow Share Ans is D https://www.google.co.in/url?sa=t&source=web&rct=j&url=http://www.iitg.ernet.in/psm/indexing_ma252/y12/LectureNoteMA252Jan23.pdf&ved=0ahUKEwjS_cS3h_LWAhUKRY8KHUlgALAQFgimATAU&usg=AOvVaw0ZRweknnsZH0OUxXLLLM65 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes Take n= 4 for binary heap...height h should be 2 So (n/2^h ) = gives 1 ... While taking root at 0th height.. Just check placing only one node at height h.. So ans should be B. papesh answered Jul 16, 2016 papesh comment Share Follow See 1 comment See all 1 1 comment reply Sanjay Sharma commented Oct 24, 2018 reply Follow Share of height h i think root is of height h and leaves are of height 0 0 votes 0 votes Please log in or register to add a comment.