For searches. Which one is most preferred: array list or linked list?



For searches. Which one is most preferred: array list or linked list?..

Answer / Km.vijay Laxmi

The choice between an array list (static size) and a linked list (dynamic size) depends on the specific use case. Array lists provide faster access to elements due to their fixed location in memory, while linked lists are suitable for dynamic data structures where adding/removing elements frequently is required.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What are the applications of linked list?

1 Answers  


How can one find a cycle in the linked list? IF found how to recognize the cycle and delete that cycle?

12 Answers   Citrix,


What does list clear do?

1 Answers  


Do you know what is linear search?

1 Answers  


Check if duplicates exist in an array of N which has range 1 to N.

1 Answers   Expedia, GrapeCity,


What are the data structures used in RDBMS, Network data model & Hierarchical data model?

1 Answers   Accenture,


what is Singly Linked list?

1 Answers  


What is huffman’s algorithm?

1 Answers  


What differences exist between hashmap and hashtable?

1 Answers  


What are the types of collection?

1 Answers  


What is inplace sorting?

1 Answers  


What does simulation of queues mean?

1 Answers  


Categories