What is the maximum total number of nodes in a tree that has N levels? Note that the root is level (zero)
18 52203How 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 78075A list is ordered from smaller to largest when a sort is called. Which sort would take the longest time to execute?
12 31864A list is ordered from smaller to largest when a sort is called. Which sort would take the shortest time to execute?
17 34323When will you sort an array of pointers to list elements, rather than sorting the elements themselves?
5 22912The 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 35543What 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 66831In which data structure, elements can be added or removed at either end, but not in the middle?
42 105893Which one is faster? A binary search of an orderd set of elements in an array or a sequential search of the elements.
22 46717Post New Data Structures Questions
Is tuple immutable?
What is a minimum spanning tree?
What is the difference between data type and data structure?
What is ascii sort order?
What is data structure what is need of it?
Why is hashmap used?
Define a binary tree?
Does treemap allow null keys?
What is the default size of an arraylist?
How does threaded binary tree represented in data structure?
What is the order of selection sort?
Can a tree be empty?
Describe queue operation.
Is it possible to store null key and null values in a hashmap?
Why it is important to have aligned addresses? What is the exception generated when there is a misaligned address?