Amazon Interview Question
Software Engineer / DevelopersCountry: United States
Interview Type: Phone Interview
Following are few differences between Arrays and linked List :
# Arrays can be traversed randomly where as linked list traversal is sequential.
# While creating array one has to specify the size,Where as Linked list can grow dynamically.
# Memory allocation for an array is compile time and where as for Linked list it is Run time.
Important for interviews sde @ Amazon. Please try it.
- unicorn November 16, 2013