Technical Discussion :: C++
Home > Technical Interview Q&A > C++ > Discussion
1 / 187
Define sequence container?
Answer:
Sequence container stores elements in a linear sequence like a line .Each elements are related to other by its position along the line. They all expand themselves to allow insertion to the elements and all of them support a number of operations on them.
Element0 -> Element1 -> Element2 -> …….. -> Last element…
/\
|
Begin() end()
Asked In ::
Amit Seth
23 Feb, 2019 5:07 AM
Sequence container stores elements in a linear sequence like a line .Each elements are related to other by its position along the line. They all expand themselves to allow insertion to the elements and all of them support a number of operations on them.
Element0 -> Element1 -> Element2 -> …….. -> Last element…
/\
|
Begin() end()
Element0 -> Element1 -> Element2 -> …….. -> Last element…
/\
|
Begin() end()