I have also encountered this while interviewing for the couple of jobs. I thought I did not study well and that's why could not solve the problems in front of the interviewer! In fact, when I am able to solve bigger problems while developing live projects. Nice post and it echoes something which has happened to all of us at some point in time.