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

  GeekInterview.com  >  Placement Papers  >  Wipro  >  Technical

 Print  |  
Question:   If Link list is used to implement a stack what operations should be implemented :

A. insert front, delete front
B. insert front, delete rear
C. insert rear, delete front
D. none of these





May 05, 2007 14:57:10 #2
 dexter7574   Member Since: May 2007    Total Comments: 7 

RE: If Link list is used to implement a stack what op...
 
ans is a, front is similar to the top of the stack...as stack is LIFO...front insertion front deletion..
     

 

Back To Question