What is the maximum total number of nodes in a tree that has N levels? Note that the root is level (zero)
18 52782How 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 78879A list is ordered from smaller to largest when a sort is called. Which sort would take the longest time to execute?
12 32304A list is ordered from smaller to largest when a sort is called. Which sort would take the shortest time to execute?
17 34788When will you sort an array of pointers to list elements, rather than sorting the elements themselves?
5 23138The 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 35917What 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 67505In which data structure, elements can be added or removed at either end, but not in the middle?
42 107110Which one is faster? A binary search of an orderd set of elements in an array or a sequential search of the elements.
22 47460Post New Data Structures Questions
What is dynamic array how it is created?
What is the difference between one and two dimensional?
What are the difference between a stack and a queue?
How is the front of the queue calculated ?
Which one is the simplest sorting in data structure?
What is the best case complexity of quicksort?
Explain the term recursive case?
Why merge sort is better than insertion sort?
How null key is handled in hashmap?
What do you mean by data and data structure?
Describe tree database.
What is a height of a tree?
Can we add elements to final list?
Is hashset a collection?
What is impact of signed numbers on the memory?