Singleton class implementation and multi-field search data structure
Filed under Samsung
The question
Implement a Singleton class in C++ and design an optimal data structure to store and search person info by name, phone, email, or city with minimal space and time.
No write-up yet. Related questions below have one.
Related Samsung questions
Collected from public candidate posts and coding forums. Updated Nov 2026.