Given a list of user objects, this function will take in a username and return the corresponding user object if it exists. If the user does not exist, it will return null.
The candidate's solution is correct and uses an efficient approach to solving the problem.
Evaluated at: 2022-11-23 04:17:30