A Google Interviewing Story
If you are ever asked an interview question which you've already answered in a previous interview, you should tell the interviewer immediately.<p>I know some coworkers who will intentionally ask a question they know you were asked in a previous interview to test your integrity. (Edit: Not that I would condone this practice either.)<p>These types of interview questions are about evaluating <i>how you think</i> far more than <i>what you know</i>. So, more importantly than the risk of getting caught, if you recite an answer from memory and pretend that you're deriving the solution on the fly, you're lying to your future coworker.