I was attending the technical interview at CGI. I was all charged up and confident for the interview.
Interviewer was happy with my answers and there was the point I messed up.
Interviewer asked me a question on finding the middle element of a linked list.
I knew the answer very well and knew how to solve that using three different method.
I told that there are three different ways of doing that and he was impressed.
I gave him all the three techniques and he appreciated it. Then he asked me few more questions and then said thank you and asked me to wait.
I was pretty sure that I will get the job. The results came out and I was not selected.
Few days later my mentor Mr. Subba Reddy from MadeEasy told the exact same scenario and said that the part where I said the three ways of solving the problem was the mistake I did.
He asked me to take care of few point from next time.
Whenever you know the solution as in the best case, average case and the worst case. Answer them the worst case and let interviewer ask you for a better solution. Then give them the best case so that they will find your adaptibility skills.
That's my mistake I did in an Interview.