in Algorithms edited by
272 views
0 votes
0 votes

https://gateoverflow.in/132037/self-doubt-in-binary-search-algo

DOUBT : THIS QUESTION  10 ELEMENTS ARE IN ARRAY AND  SORTED  THEN HOW CAN WE DRAW A BALANCED TREE BECZ IT IS ALWAYS GIVING SKEWED TREE.

in Algorithms edited by
by
272 views

2 Comments

start inserting with 5  

he is making complete tree there and question is asking avg not worst ....
0
0
THEN WHY SAYING SORTED ARRAY ?? TAKING ELEMENTS ON THE BASIS OF SORTED ARRAY IS GIVING SKEWED TREE......
0
0

Please log in or register to answer this question.