I applied for a middle C++ developer position and was invited for a coding interview.
At first interview, I solved both (relatively simple) problems and answered all questions regarding the language. At the same time, the solutions were not "beautiful", they were rather straightforward (but optimal in terms of space and complexity), and I was correcting myself most of the time and made several typos which were corrected by the interviewer.
The second interview went in a similar way. I solved two problems, but when I was asked extra questions, I failed a couple of them (for example, with difference between "resize" and "reserve"). I was clearly nervous and even the interviewer noticed it asking me to relax.
When I was rejected, I asked for a feedback from HR and was given the following one: "improve your coding skills". Is it a fair one? Is it rude?
I mean, I can accept that at the moment I am probably not so experienced for a middle position, but I solved all problems and answered most of the questions, and all solutions (yes, with typos) were optimal. And these typos are mostly due to nerves.
What do you think? I can give more details if interesting.