What is the maximum total number of nodes in a tree that has N levels? Note that the root is level (zero)
18 52134How 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 77931A list is ordered from smaller to largest when a sort is called. Which sort would take the longest time to execute?
12 31834A list is ordered from smaller to largest when a sort is called. Which sort would take the shortest time to execute?
17 34237When will you sort an array of pointers to list elements, rather than sorting the elements themselves?
5 22898The 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 35488What 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 66739In which data structure, elements can be added or removed at either end, but not in the middle?
42 105704Which one is faster? A binary search of an orderd set of elements in an array or a sequential search of the elements.
22 46652Post New Data Structures Questions
List the types of rotations available in splay tree?
What is array define its types?
Which sort is best for linked list?
Questions related to arrays, such as given a 2 integer array, find the common elements.
What is max heapify?
What do you mean by sorting?
What are vectors used for in real life?
What is bubble sort and quick sort?
Define an algorithm. What are the properties of an algorithm? What are the types of algorithms?
What is the main advantage of a linked list?
Give a real time example of stack
Which collection type is used to maintain uniqueness of data structure?
State the demerits of linked representation of binary trees?
How can we delete any specific node from the linked list?
Is quicksort recursive?