1.

List Out Differences Between Arrays And Linked List?

Answer»

The difference between arrays and linked lists are:

  • Arrays are linear data structures. Linked lists are linear and non-linear data structures. 
  • Linked lists are linear for accessing, and non-linear for storing in memory
  • Array has homogenous values. And each element is INDEPENDENT of each other POSITIONS. Each node in the linked list is CONNECTED with its previous node which is a pointer to the node. 
  • Array ELEMENTS can be modified easily by identifying the index value. It is a complex process for modifying the node in a linked list.
  • Array elements can not be added, DELETED once it is declared. The nodes in the linked list can be added and deleted from the list.

The difference between arrays and linked lists are:



Discussion

No Comment Found