GeekInterview.com
  I am new, Sign me up!
 

Data Structures Interview Questions


Data Structures Interview Questions

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

 
 Data Structures Interview Questions
Sorting Options :  

How a value can be accessed through an address?How pointers can be used a funtions? 
Latest Answer: It contains adrress of function. It is denoted as * fun().  ...

Make a middle node of doubly link list to the top of the list.  
Latest Answer: node *n1,*n2;n1 = n2 = head;while((n2->next) && (n2->next->next)){     n1 = n1->next;     n2 = n2->next->next;]// n1 points to the middle nown1->prev->next = n1->next;n1->next->prev ...
Read Answers (3) | 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: [F=front, R=rear, P= pointer, q[] is the array variable] Algorithm:      if F != R       P= F       count = 0        while(P

What is Priority Queue? Explain with example. 
Latest Answer: Heap is also called a priority queue. Heaps are of two types one is min heap and other is max heap. Min heap contains min at the top of tree. ...

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: Linear:      May not need pointers to access     Need more time for searching than non-linear     Easier to access Non-linear:     Need pointers to access     ...
Read Answers (5) | 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: AVL trees ...

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. ...

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

Ask A Question
Go Top
 Sponsored Links

 
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
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape