Question DSA-HEAP-0057
MediumIn a d-ary heap (each node has d children), what is the height for n elements?
- A.
About log_d n
- B.
About d log n
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Heaps and Priority Queues question
In a d-ary heap (each node has d children), what is the height for n elements?
About log_d n
About d log n
Sign up free to see the answer and a step-by-step explanation.
About n/d
About √n