During an interview with a well-known technology firm, I couldn’t remember the exact output generated by a certain method call belonging to Python, the
split() function. I admitted this to the interviewer (in fact, I noted that in a "real" situation, I would double-check on Stackoverflow or the docs). My interviewer stated that the function would generate a certain output, and notated that output in our shared document (to be clear, I believe that this was an honest mistake and didn't have a malicious intent).
However, after the interview, I discovered that the output the interviewer provided was, in fact, incorrect, and had cost me time in trying to code my solution to match their incorrect hint (unfortunately, the result of the interview was dis-favorable for me). How should a candidate accommodate a possible interviewer error in this situation?