Answer to Question #278006 in C for Amit

Question #278006

“If the height of a tree is reduced and balanced, then the searching time also get reduced.” (True/ False) Justify.

1
Expert's answer
2021-12-10T00:38:08-0500

Answer: True

Explanation: The search algorithm works for an "O(\\log n)" time, where "\\log n" is equal to the height of a tree. From here if the height of a tree is reduced and balanced, then the searching time also will reduce, too.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS