Biggest Cat’s decided to start a blog. The crazy cat’s been busy snooping around places and collecting information of all sorts. He can’t wait to put ‘em all up here on his very own blog. But he’s not doing random stuff. No! He’s out with a plan! (prrr!!!).
Biggest Cat sometimes wonders at the strange name that’s been given to him. He certainly isn’t the biggest cat in the world,but his name changes everything! He is the biggest cat, because he is called Biggest Cat. There are so many mysteries as to why he was christened “Biggest Cat”
So stay tuned and don't forget to subscribe . Check out for More...
Jan
29th

Important Data Structures questions-2

Author: admin | Files under Interview

16.    What is the maximum total number of nodes in a tree that has N levels? Note that the root is level (zero)
17.    How many different binary trees and binary search trees can be made from three nodes that contain the key values 1, 2 & 3?
18.    A list is ordered from smaller to largest when a sort is called. Which sort would take the longest time to execute?
19.    A list is ordered from smaller to largest when a sort is called. Which sort would take the shortest time to execute?
20.    When will you  sort an array of pointers to list elements, rather than sorting the elements themselves?
21.    The element being searched for is not found in an array of 100 elements. What is the average number of comparisons needed in a sequential search to determine that the element is not there, if the elements are completely unordered?
22.    What is the average number of comparisons needed in a sequential search to determine the position of an element in an array of 100 elements, if the elements are ordered from largest to smallest?
23.    Which sort show the best average behavior?
24.    What is the average number of comparisons in a sequential search?
25.    Which data structure is needed to convert infix notations to post fix notations?
26.    What do you mean by:
o    Syntax Error
o    Logical Error
o    Runtime Error
How can you correct these errors?
27.    In which data structure, elements can be added or removed at either end, but not in the middle?
28.    How will inorder, preorder and postorder traversals print the elements of a tree?
29.    Parenthesis are never needed in prefix or postfix expressions. Why?
30.    Which one is faster? A binary search of an orderd set of elements in an array or a sequential search of the elements.

Post a Comment