by bryanrasmussen · 6y ago · 0 comments
The job was fullstack node and react, I went in and they said we want you to look at this game written in Python which is really slow and tell us what is wrong with it (I hadn't done python in years and back then wasn't very good at it). We will sit with you. I said I was game, they said lots of people weren't - one guy evidently got offended and said he didn't do that language (I can definitely think of one friend of mine who is totally competent who would get offended at being asked to work in a language that did not have anything to do with the job he was applying for)
The game was using a big dictionary in an array and you had to look up words from it and it was slow (about 7 minutes to do searches). So I thought to myself, damn I cannot remember the name of that algorithm for this (binary search), ok let's stall a bit maybe I will remember the algorithm name.
So what's the first thing you would do?
Uhm how about checking a profiler. So we checked and found some simple things we could optimize. And then I looked through the code and I saw there were parts I could cache etc.
So after all those things were done the time to do a search was a little bit more than halved and I still couldn't remember "binary search", so I stared dumbfounded at the screen for I think about a 3-4 seconds and I started to say "uhm" and then the guy sitting with me I guess ran out of the time he wanted to spend and said "ok well there is an algorithm for this blah blah blah" showed how to do it in python. Thanks for your time.
I actually didn't want the job but still felt somewhat let down that I couldn't remember.
At any rate that was why I said the last uhm, because I saw no other way and I was thus ready to go the long route, but then I guess I was out of time.
Yet another interview where I looked like an idiot.
I think it's the stress of not having any idea what you might be asked about over an unreasonably-wide field of topics, or how you will be judged on your answers, making people forget stuff or act dumber than they actually are, when asked to perform under such (unheard of in real work, "server's on fire at midnight" stress isn't even half as bad and certainly not as adversarial-feeling) conditions.
I have never been hired via a process that involves a technical quiz or in person programming, and the last time around, one such farce was my limit. If I was competent and not able to pass that sort of filter, then I kind of had to find another way.