But since I have started job hunting recently I found it very hard to do so during interviews. The moment I make a mistake in the solution or miss out answering any one of interviewer's questions, my mind goes blank. And then it goes downhill with my answers circling around what needs to be said or ends up being tangential to what was asked. I would only realize that after the interview or when the interviewer interjects.
I have made peace with the fact that I generally get tensed before interviews and have a very high chance of getting mentally blocked during one, but I would really like to know if there is a way to get unblocked other than asking for a take away assignment or postponing the interview.
Go into every interview knowing that the company would be lucky to have you, and even having a conversation with someone of your experience is a privilege.
These companies need you. You don't need them. The ratio of coders to non-coders in this world is staggering and the demand only keeps increasing. It's a buyers market for the forseeable future.