1.

Unordered map is implemented using _________________(a) binary search tree(b) red black tree(c) heap(d) hash tableI got this question at a job interview.My doubt is from More Containers in division Class Hierarchies, Library & Containers of C++

Answer»

Correct option is (d) hash table

Easiest explanation - As unordered MAP has no order of KEYS therefore hash table is USED to store key-value PAIRS in a hash table.



Discussion

No Comment Found

Related InterviewSolutions