Problem Solving with C++ (10th Edition)
Problem Solving with C++ (10th Edition)
10th Edition
ISBN: 9780134448282
Author: Walter Savitch, Kenrick Mock
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 advantages does a List have over an array?
question:: Write a program to reverse a linked list.   additional information:: it is a question of data structures an algorithm. topic name is linked list. i need its perfect code in c++ language that can give output on visual studion without any error.
What is the difference between a pointer and a linked list?
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