1.

How the list containers are implemented?(a) Using Double linked list(b) Using Single linked list(c) Using Single & Double linked list(d) Using linear linked listI got this question in an interview.I'm obligated to ask this question of Sequences in chapter Class Hierarchies, Library & Containers of C++

Answer»

Correct answer is (a) Using Double linked LIST

The EXPLANATION: List CONTAINERS are implemented as doubly-linked lists. Doubly linked lists can store each of the elements they contain in different and unrelated STORAGE LOCATIONS.



Discussion

No Comment Found

Related InterviewSolutions