Optum interview question

How would you design user authentication using C++?

Interview Answer

Anonymous

Sep 15, 2019

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