What is the time complexity for creating a ternary heap using swapping?

What is the time complexity for creating a ternary heap using swapping?
A. O (log n/ log 3)
B. O (n!)
C. O (n)
D. O (1)
 

Tìm kiếm

Back
Top