Saved Bookmarks
| 1. |
What type of class template is list?(a) Class-based(b) Node-based(c) Method-based(d) size-basedI got this question in an online interview.This is a very interesting question from Almost Containers topic in portion Class Hierarchies, Library & Containers of C++ |
|
Answer» CORRECT answer is (b) Node-based For explanation: It is node-based because it allows for efficient INSERTION ANYWHERE in the PROGRAM. |
|