What is the maximum total number of nodes in a tree that has N levels? Note that the root is level (zero)
18 49433How 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 74647A list is ordered from smaller to largest when a sort is called. Which sort would take the longest time to execute?
12 29546A list is ordered from smaller to largest when a sort is called. Which sort would take the shortest time to execute?
17 32108When will you sort an array of pointers to list elements, rather than sorting the elements themselves?
5 22063The 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 33717What 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 63878In which data structure, elements can be added or removed at either end, but not in the middle?
42 99723Which one is faster? A binary search of an orderd set of elements in an array or a sequential search of the elements.
22 44254Post New Data Structures Questions
How many types of priority queue are there?
Write a program for reversing the Single Linked List?
What is the difference between static and dynamic data?
What are red-black trees?
What is an example of an algorithm?
Differentiate between arraylist and linkedlist.
Why is an array homogeneous?
Is list same as array?
What are the two traversal strategies used in traversing a graph?
What are the types of binary tree?
What is the difference between collection and collections?
How dynamic arrays are created?
What is the difference between sorting and classifying?
What is selection in an algorithm?
What is queue example?