Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Data Structures Interview Questions
Questions Answers Views Company eMail

What is the maximum total number of nodes in a tree that has N levels? Note that the root is level (zero)

CSC, National Instruments, Sasken, Sybrant Technologies,

18 52099

How 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 77896

A list is ordered from smaller to largest when a sort is called. Which sort would take the longest time to execute?

12 31812

A list is ordered from smaller to largest when a sort is called. Which sort would take the shortest time to execute?

17 34196

When will you sort an array of pointers to list elements, rather than sorting the elements themselves?

5 22887

The 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?

Morgan Stanley, Wipro,

11 35477

What 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?

ABB, SDE,

19 66722

Which sort show the best average behavior?

9 35616

What is the average number of comparisons in a sequential search?

5 16849

Which data structure is needed to convert infix notations to post fix notations?

Fidelity, Infosys,

20 44275

What do you mean by: Syntax Error, Logical Error, Runtime Error?

College School Exams Tests, Microsoft,

7 62153

In which data structure, elements can be added or removed at either end, but not in the middle?

Infosys, NIC, TTA, Wipro,

42 105661

How will inorder, preorder and postorder traversals print the elements of a tree?

11 36789

Parenthesis are never needed in prefix or postfix expressions. Why?

BPO, Microsoft,

13 53190

Which one is faster? A binary search of an orderd set of elements in an array or a sequential search of the elements.

Syntel, TCS,

22 46606


Post New Data Structures Questions

Un-Answered Questions { Data Structures }

What is difference between hashtable and hashmap?

1026


Explain what are the major data structures used in the rdbms?

959


Will it create any problem if we add elements with key as user defined object into the treemap?

903


Why it is said that searching a node in a binary search tree is efficient than that of a simple binary tree?

970


Does list allow null values?

914


How do you solve a selection sort?

879


What is the best case complexity of quicksort?

898


Is hashmap sorted?

940


Give a good data structure for having n queues ( n not fixed) in a finite memory segment. You can have some data-structure separate for each queue. Try to use at least 90% of the memory space.

933


Explain pre-order and in-order tree traversal.

934


Define balance factor of a node in avl tree?

1038


What is a data structure? What are the types of data structures? Briefly explain them

954


Does arraylist have index?

943


Explain the uses of binary tree.

906


What is an ordered map?

913