1.

Pick out parameter for rehash method in unordered_set in c++?(a) count(b) size(c) hash(d) typeThe question was posed to me in an internship interview.My doubt is from Standard Library Design topic in division Class Hierarchies, Library & Containers of C++

Answer»

Correct option is (a) count

To explain I WOULD say: count is used to RETURN the NEW number of BUCKETS.



Discussion

No Comment Found

Related InterviewSolutions