I am in the interview process for a summer internship at a company (I'm a junior in college). I had a non-technical interview, after which they gave me a coding test and scheduled a technical interview. My interviewer for the technical interview will review my coding test prior to the interview.
The test had two questions; I got one of them, but didn't get the other. I came up with an almost perfect solution, but forgot about a corner case. It was a timed test, so in my haste to get the right solution I started over from scratch and began something that was completely off-track. Then I ran out of time, so I submitted what I had so far of the wrong solution (not knowing it was wrong at the time). Almost immediately after submitting the test, I remembered the corner case, re-programmed the question on my own, and saw that I had it right. I also played around with the solution I had submitted and realized it was completely incorrect.
My question is, what to do now? I still have the technical interview, before which the interviewer will see the abysmal attempt I submitted for the question. Should I bring up that I have a working solution, and mention that I came up with it almost right away but given the time pressure, ended up not using it?
I know I should have just commented out my almost-correct solution, but it didn't occur to me, so now I have no way to prove or justify that I did actually have a solution and didn't just look it up when I finished the test. I know it's not the end of the world to blow one interview, but I thought I was doing pretty well and I know I had an efficient and correct solution to the first question, so if there was some way to mention that I was close on the second question, I'd really like to. This is also pretty much my dream internship.