InterviewSolution
Saved Bookmarks
| 1. |
What is the smallest element of the given minimum ternary heap?(a) 1(b) 10(c) 18(d) 20The doubt is from Ternary Heap topic in section Heap of Data Structures & Algorithms IThis question was addressed to me during an interview for a job. |
|
Answer» RIGHT option is (a) 1 For explanation: Ternary heap is a type of data structure in the field of computer SCIENCE. It is a part of the Heap data structure family. Minimum ternary heap has the smallest element as its ROOT NODE. The parent node is all EITHER equal or less than children node in a minimum ternary heap. |
|