I've been practising hackerrank and leetcode for the last 3 years. I've done 7 or 8 technical interviews with Cisco/Tiktok/SAP etc. and have failed them all. The step where I fail all the time is: Live Coding! Yesterday I was asked to reverse a linked list and I couldn't even do that properly.
I don't think it's a question of being nervous. I just seem to have trouble generating ideas for how to solve a problem. Mind freezes when the interviewer says: "Ok. Lets start coding!"
Does anyone have any advice (besides continue practising) that may help me get over this mental block I seem to have? I'm pretty sure I'm not stupid. Also, can anyone guide on how exactly to talk with interviewer while coding interview? How to start the approach?
Please help me.
Edit: Please ignore the fact I have done ms in cs!