InterviewSolution
Saved Bookmarks
| 1. |
Heap exhibits the property of a binary tree?(a) True(b) FalseMy doubt stems from Heap topic in division Heap of Data Structures & Algorithms II have been asked this question at a job interview. |
|
Answer» RIGHT choice is (a) True The explanation is: Yes, because the LEAF nodes are present at height H or h-1, which is a PROPERTY of complete binary tree. |
|