What is the maximum total number of nodes in a tree that has N levels? Note that the root is level (zero)
18 47268How 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 71644A list is ordered from smaller to largest when a sort is called. Which sort would take the longest time to execute?
12 27872A list is ordered from smaller to largest when a sort is called. Which sort would take the shortest time to execute?
17 30177When will you sort an array of pointers to list elements, rather than sorting the elements themselves?
5 21208The 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 31904What 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 61453In which data structure, elements can be added or removed at either end, but not in the middle?
42 94946Which one is faster? A binary search of an orderd set of elements in an array or a sequential search of the elements.
22 41921Post New Data Structures Questions
Which one is the simplest sorting in data structure?
How can someone display singly linked list from first to last?
Can you declare an array without assigning the size of an array?
Write a program for Sorting an Array. Which sorting will you prefer?
What is a weighted graph?
Which is better stack or queue?
What are dynamic data structures?
State the different ways of representing expressions?
What is a hashers run?
Define graph?
Explain the steps to insert data into a singly linked list?
Briefly explain recursive algorithm?
Which sort is stable?
What are the properties of an algorithm?
Is treemap synchronized?