Pregunta de entrevista de Optum

How would you design user authentication using C++?

Respuesta de la entrevista

Anónimo

15 sept 2019

I could construct a map with the username as key and password as value. This would reduce the access time to O(1).