Dynamic array VS linked list in C++ [duplicate]
问题 This question already has answers here : Linked List vs Vector (5 answers) Closed 3 years ago . Why we need a linked list when we have dynamic array list? I have studied static list and linked list. I have knowledge of dynamic array list. but I couldn't find out the exact difference between that Anyone please help me to answer this 回答1: Dynamic array is an array that resizes itself up or down depending on the number of content. Advantage: accessing and assignment by index is very fast O(1)