What is the maximum total number of nodes in a tree that has N levels? Note that the root is level (zero)
18 46915How 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 71083A list is ordered from smaller to largest when a sort is called. Which sort would take the longest time to execute?
12 27626A list is ordered from smaller to largest when a sort is called. Which sort would take the shortest time to execute?
17 29858When will you sort an array of pointers to list elements, rather than sorting the elements themselves?
5 21035The 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 31610What 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 61006In which data structure, elements can be added or removed at either end, but not in the middle?
42 94120Which one is faster? A binary search of an orderd set of elements in an array or a sequential search of the elements.
22 41544Post New Data Structures Questions
What is the difference between arraylist and linkedlist?
Explain the Queue
What are the types of sorting?
Discuss the difference between a stack and an Array?
Write a recursive c function to calculate the height of a binary tree.
Write the advantage of separate chaining?
What are two types of sorting?
Which sorting algorithm is considered the fastest?
Why is concurrenthashmap thread safe?
What is a treeset?
What thread means?
What are linked lists good for?
Differentiate between compilers and interpreters.
What do you mean by structure property in a heap?
How to find the missing element in integer array of 1 to 7?