πŸ“Š C++
Q. Which STL container stores key-value pairs and provides fast retrieval based on keys?
  • (A) vector
  • (B) map
  • (C) stack
  • (D) queue
πŸ’¬ Discuss
βœ… Correct Answer: (B) map

Explanation: The 'map' container in the STL stores key-value pairs and allows fast key-based lookups.

Explanation by: Praveen Singh
The 'map' container in the STL stores key-value pairs and allows fast key-based lookups.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
92
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Praveen Singh
Publisher
πŸ“ˆ
93%
Success Rate