Computer Science, asked by narsinghkumar1120, 1 year ago

Explain arrays vs linked lists with suitable examples.

Answers

Answered by ss9533178gmailcom
0

Answer:

Dont know the correct answer

Answered by Anushka398765
0

Answer:

Whereas, linked list gets memory allocated in Heap section. Below we have a pictorial representation showing how consecutive memory locations are allocated for array, while in case of linked list random memory locations are assigned to nodes, but each node is connected to its next node using pointer.

The major difference between Array and Linked list regards to their structure. Arrays are index based data structure where each element associated with an index. ... While a linked list is a data structure which contains a sequence of the elements where each element is linked to its next element.

Similar questions