As somebody who’s past interviews at Facebook, Google, Snapchat and Slack, this is the No. 1 problem that I see people do during technical interviews. When an interviewer asks you a leak code question and you put the authorized solution perfectly the first time, that is a red flag. You’re not passing the interview. The interviewer doesn’t care about your answer. They care about how you get to the answer. That might mean that you have a really bad brute for solution initially, then you work to an optimized solution. I would rather have somebody struggle through a problem and eventually get to the best solution, then somebody just immediately blurred out something that they remember. They can recognize that immediately. So don’t even try. But if they ask you a question that you’ve literally done before, then act like you’ve never seen it before.