The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+1 vote
83 views
which is an efficient tree structure in terms of space and time complexity?

a) AVL Tree

b)Full Binary tree

c)Complete binary tree

d)Binary tree
asked in DS by (99 points) | 83 views

1 Answer

+1 vote
in terms of space, complete binary tree is efficient

therefore option B and D are eliminated, but option A can't, due to it is also a type of complete binary tree

W.r.to Time complexity, AVL is better than Complete Binary tree

due to it is BST and operations like insertion, deletion and search can be performed in O(log N) time

Option A is right
answered by Veteran (61k points)

Related questions

+1 vote
1 answer
4
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,588 questions
54,197 answers
187,535 comments
71,152 users