Problem Solving with C++ (9th Edition)
Problem Solving with C++ (9th Edition)
9th Edition
ISBN: 9780133591743
Author: Walter Savitch
Publisher: PEARSON
Question
Book Icon
Chapter 18.2, Problem 7STE
Program Plan Intro

vector”:

  • “vector” stores elements at contingous memory locations like an array.
  • It contains random access iterator.

“list”:

  • “list” stores elements at non contiguous memory location that is internally uses a doubly linked list.
  • It only contains bidirectional iterator.

Blurred answer
Students have asked these similar questions
What are the advantages of a linked list versus an array?
ASSUMING C LANGUAGE True or False: You can have the data portion of a Linked List be a Struct containing a Linked List itself
Programming Language C Note:No Need for Detailed Explanation. The Answer is Enough For Me.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning