arrays vs lists? And containers in general!
I am just 3 chapters away from finishing this class on data structures and...the book has gone into great detail about using the different containers - arrays, lists, linked lists, queues, stacks, etc. But so far, there hasn't been any discussion, at least that I can recall or find, that discusses a compare-contrast of each, or the appropriate situations where you would choose to use one instead, and what those specific applications are.
So is it all a matter of choice and what you are comfortable with using, or are there specific times/situations where one would be better to use that the other.
I have had this question since the 3rd chapter and expected the topic to be covered, and maybe it will be in one of the last few chapters, but by their headings I don't think it is so.
I welcome any and all information on this topic. It seems like when to use each, in comparison to others, should be discussed as much as how to use them, especially in a classroom, virtual as it may be, setting.
Thanks for the input.