GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

Data Structures Interview Questions


Data Structures Interview Questions

Questions: 200
Comments: 353
 Data Structures Tags
 Showing Questions 1-10 of 201 Questions
[1] 2 3 4 5 6 7 8 9 10 Next >>
 Sponsored Links

 
 Data Structures Interview Questions
Sorting Options :  

Make a middle node of doubly link list to the top of the list.  
View Question | Asked by : shivi10j

How is memory reserved using a declaration statement? 
Latest Answer: When you delare any variable it is assigned in the data segment.Data Segment (data+bss+heap)stackand this is so memory is reserved. ...

Write an algorithm to calculate the number of items in a static queue? 
Latest Answer: Queue: array in which you insert at front and remove from rare.Static Queue: queue which is of fix size and can not variate in size at runtime.Optimized way to count the elements present.F -> frontR -> rareNo -> no of elements presentMax_size -> max size ...

What is Priority Queue? Explain with example. 
Latest Answer: A priority queue is essentially a list of items in which each item has associated with it a priority. In general, different items may have different priorities and we speak of one item having a higher priority than another. Given such a list we can determine ...

What is Circular Queue? Explain with examples. 
Latest Answer: In a normal Queue when queue becomes full we can not add more items, so following items are lost.  But in a circular queue when queue becomes full it will start overwriting the items from beginning so that new items/data won't waste. It is ...

How do you convert doubly linked list to single without using structures? 
Latest Answer: Saynode{infonode lptr,rptr}main{node p;p=start;q=p->rptr;while(p!=Null){q->lptr=Null;p=q;q=p->rptr;}} ...

Latest Answer: Is it not vice-versa. Non linear should be for fast memory access and linear for data storage. Because traversing thru non linear data structure is always less time consuming. ...
Read Answers (4) | Asked by : Dathan

If you have one million named objects and you want to store them in a data structure that lets you insert new objects quickly and search for an object by name quickly, what data structure should you use? 
Latest Answer: Since there is the question about serching and insertion quickly, i think the data structure should be binary serach tree , not simple binary tree ...

How will you identify Stack Overflow? 
Latest Answer: Stack overflow condition is raised when Top=max-1 where max is the size of the array n, Top is the topmost element. ...

Explain what are linear data structure & non-linear data structure? 
Latest Answer: A data structure is classified into two categories: Linear and Non-Linear data structures. A data structure is said to be linear if the elements form a sequence, for example Array, Linked list, queue etc. Elements in a nonlinear data structure do not ...

View page [1] 2 3 4 5 6 7 8 9 10 Next >>

Ask A Question
Go Top
 Sponsored Links

 
Ask Question
You must login to Ask Question or Register your free account

Category:

 
Question Title:


Question in Detail:

Add this to my Subscribed Questions (?)
Send me email when new answer is posted (?)

 
Expert Members
Subscribe
Get Latest Updates Via RSS Reader or by Email
 Forum Discussion Subscribe to Forum Discussions Via E-Mail Latest Forum Discussions Subscribers
 Knowledge Base Subscribe to Knowledge Base Series Via E-Mail Knowledge Base Subscribers
 Learning Series Subscribe to GeekInterview Learning Series Via EMail Learning Series Subscribers
 Freelance Jobs Subscribe to GeekInterview Freelance Jobs Via EMail Latest Freelance Jobs Subscribers
 GeekInterview Blog Subscribe to GeekInterview Blog Via EMail GeekInterview Blog Subscribers
 Testing Interview Questions Subscribe to Testing Interview Questions Via EMail Testing Interview Questions Subscribers
 Oracle Interview Questions Subscribe to Oracle Interview Questions Via EMail Oracle Interview Questions Subscribers
 Java Interview Questions Subscribe to Java Interview Questions Via EMail Java Interview Questions Subscribers
 Latest Placement Papers Subscribe to Latest Placement Papers Placement Papers Subscribers
 Free Training Subscribe to Free Training Via EMail Free Training Subscribers
 Learn AJAX Subscribe to AJAXwith.com Via EMail AJAXwith Subscribers
Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape