What is the smallest element of the given minimum ternary heap?

Trường Phan

New member
What is the smallest element of the given minimum ternary heap?
A. 1
B. 10
C. 18
D. 20
 
Answer: a
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.
 

Tìm kiếm

Back
Top