What is the maximum total number of nodes in a tree that has N levels? Note that the root is level (zero)
18 52218How many different binary trees and binary search trees can be made from three nodes that contain the key values 1, 2 & 3?
Accenture, Amazon, College School Exams Tests, iGate, Microsoft, TCS, Wipro,
28 78093A list is ordered from smaller to largest when a sort is called. Which sort would take the longest time to execute?
12 31873A list is ordered from smaller to largest when a sort is called. Which sort would take the shortest time to execute?
17 34342When will you sort an array of pointers to list elements, rather than sorting the elements themselves?
5 22918The 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?
11 35549What 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?
19 66843In which data structure, elements can be added or removed at either end, but not in the middle?
42 105937Which one is faster? A binary search of an orderd set of elements in an array or a sequential search of the elements.
22 46742Post New Data Structures Questions
Which interfaces are implemented by printerstatereasons?
What is the difference between hashset and hashtable?
Which sorting algorithm uses minimum number of swaps?
Parenthesis is never required in postfix or prefix expressions, why?
What is comparable interface?
Define graph?
How does threaded binary tree represented in data structure?
Which programming language is best for data structures?
Can arraylist contain null?
What does the dummy header in linked list contain?
What are the disadvantages of linked list over array?
Why do we need linked lists?
What sort does arrays sort use?
What is the minimum number of nodes in an avl tree of height h?
How will you check the validity of an expression containing nested parentheses?