GeekInterview.com
  I am new, Sign me up!
 

Data Structures Interview Questions


Data Structures Interview Questions

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

 
 Data Structures Interview Questions
Sorting Options :  

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

Latest Answer: Function templates involve telling a function that it will be receiving a specified data type and then it will work with that at compile time.The difference with this and function overloading is that function overloading can define multiple behaviors ...
Read Answers (1) | Asked by : faasi113

Explain What is a node data structure Write a function such that the node data structure to visit all of the nodes in a binary tree? 
Latest Answer: struct node{int datastruct node *next;}*root;int count=0;void count(struct node *nd){if(nd!=NULL){count(nd->left);count++;count(nd->right);}}call count(root) which give the count in count variable. ...

Latest Answer: void is generic pointer.Example void * vp;int *ip;char * cp;vp = ip;//okvp = cp;But viceversa not allowed.ie ip = vp; not allowed ...

Is it possible to implement trees using arrays ? If yes, how? 
Latest Answer: Yes it's possible to implement trees using arrays, root node is place in 0th position.A node in ith position will have its left child at 2*ith position and right child at 2*i + 1th position.That's itIt was clearly given in Samanta book. ...
Read Answers (2) | Asked by : lavs_mca

Latest Answer: There are many advantages with database approach compared to a flat file system. Some of them are: 1) It's not possible to implement relationships between files in filesystem.2) Controlled redundancy3) Program-data independence4) Easy to maintain large ...

Explain how recursive algorithm is converted into recurrence relation with example. 
Latest Answer: Say we want to represent the following recursionint recurse(int a){       return a+recurse(a-1);}x={x|x=a(a+1)/2} for all a ...
Read Answers (1) | Asked by : subindas

Explain how performance of algorithm is analysed? 
Latest Answer: The performance of an algorithm is analysed by the time complexity as well as its space complexity though both the complexities are trafe-offs between them. If time complexity increases then space complexity decreases & vice-versa. Also the best & ...
Read Answers (1) | Asked by : subindas

What is Polymorphic Data Type? Give example 
Latest Answer: Polymorphic data type is implemented using generic pointers that stores a byte address and not the type of data stored in that memory address. so a polymorphic data type can take on any type of value as required.ex: function( void *a, void *b) here ...

What does it mean when a data structure is declared volatile? What does it mean when a data structure is declared Const? 
Latest Answer: Volatile - you are asking compiler to not to optimise the data structure as well as to reload to CPU registers whenever it is in use. Not a good idea for Data structure, will waste lot of CPU time in loading long data structures. ...

View page << Previous 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