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

 Print  |  
Question:  What is an array? What is the advantage of linked-list over array?



March 03, 2006 05:17:48 #2
 kausik ray   Member Since: Visitor    Total Comments: N/A 

RE: what ia an array ? advantage linked-list over arry...
 
Array is a set of memory location in the user memory(RAM).adv. of linked list over array: 1. linked list is created by the dynamic memory alocation. Where as array is created by static memory allocation. So in linked list the memory space is properly utilised & in array the unused memory spaces are wasted.2. in linked list at any positon insertion,deletion of a node can be done. But in array insertion 7 deletion can be done on the end of an array.
     

 

Back To Question