
Usual scares of the coding interview
think, then think again
I'm spooked. Coding interviews, particularly those of the competitive programming kind tend to scare me, and they leave me nervous until the eventual response of the interviewer.
I find these aren't too common in Spanish companies in general. Most people I know in this area haven't had to LeetCode for two months straight just to pass a coding interview in Spain. I have, though. And while I'm yet to see if the time spent has paid off, I do have to confess that I'm nervous regardless.
My method is quite simple. Write down a simple explanation of the problem in paper, then think about possible solutions to the problem, while weighing down each possibility's pros and cons. I like to sketch the solutions in paper first, since my first experience with this kinds of problems came from my DSA teacher in school.
She was strict. We were only allowed to answer using handwritten C++, and her exam questions weren't too far apart from a LeetCode medium. I passed her course, miraculously, so these problems weren't too unfamiliar to me once I started practicing around August of this year. I am grateful to have been taught dynamic programming and backtracking in my regular track of study. Some people I know haven't been so lucky.
Then I started doing LeetCode. It's tough. Most times I had to check the community's solutions just to find out that my original answer was presented as the 'naive solution'. Stuff blew up. My answers would have an exponential asymptotic runtime complexity. So I suffered.
As one of my 'thoughts', it mostly comes from a general frustration or expectation of the developer life. These interviews are being phased out for codebase examination and development tests, which I think is good, since it will actually test skills relevant to the job. In this case, my frustration is that my chance as a candidate boils down to the flags platforms may throw to the interviewers, to the correctness or efficiency of my code, and not as much to my will to learn or my soft and hard skills.
I do hope my time paid off. If you're reading this, wish me luck! I'm eager to do my best in anything that comes my way, but I'm not 'tourist', and I don't want to be. I'd keep my expectations in check if I were conducting these kinds of interviews, especially on me, as competitive programming just isn't my thing.
If only these interviews were about building demoscene demos, though.