What is the maximum total number of nodes in a tree that has N levels? Note that the root is level (zero)
18 51472How 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 77026A list is ordered from smaller to largest when a sort is called. Which sort would take the longest time to execute?
12 31414A list is ordered from smaller to largest when a sort is called. Which sort would take the shortest time to execute?
17 33656When will you sort an array of pointers to list elements, rather than sorting the elements themselves?
5 22717The 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 35082What 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 66076In which data structure, elements can be added or removed at either end, but not in the middle?
42 104270Which one is faster? A binary search of an orderd set of elements in an array or a sequential search of the elements.
22 45977Post New Data Structures Questions
Can arraylist contain duplicates?
What is data type and its types?
What package is arraylist?
What is height balanced tree?
What is entryset in hashmap?
What is difference between hashmap and arraylist?
What is the Role of push() and pop() method?
What is map entry?
Explain quick sort?
What is a treemap used for?
How does a treemap work?
Do sets allow duplicates?
Define parent node?
What is data type explain?
What is selection in an algorithm?