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:   The operation to be performed on a stack using a linked list can be realized using the function

A. delete front, insert rear
B. insert front, delete rear
C. delete front, insert front
D. delete rear, insert rear





February 02, 2006 08:28:33 #1
 Sarada   Member Since: Visitor    Total Comments: N/A 

RE: The operation to be performed on a stack using a ...
 
  • Stack is a Last in First Out (LIFO) data structure.
  • So, Insertion and Deletion are made at the same end i.e front end.
  • Any one option should be Insert front,Delete front for Answer.
     

 

Back To Question