by bsg75 · 10y ago · 0 comments
If I had to code purely from memory, without the benefit of language or library docs, I would not be able to write anything of use.
Personally when hiring, I'm not interested in a candidate's memory recall, but the ability to use resources when faced with a new challenge.
Personally, I'm doing mostly Python & C++ development at my new job (4 months in) after not using either for 2 years plus. I'm mostly fine with syntax for both, but constantly have my browser open for documentation, mostly for library related info.
The first is kind of a standard phone interview with a Google Doc. There is no expectation that the code you write would actually compile or run. When I conduct this interview I'm always sure to explicitly say that it's not a test of memory and they shouldn't worry about remembering specific standard library functions, etc. If they need something that they know exists but they don't remember the specifics, I encourage them to make up something that seems reasonable and just go with it.
The second is an onsite interview where we plop them at a desktop machine, give them a relatively simple programming task, and ask them to produce a runnable program. They have access to the internet and really the entire machine. They can Google whatever they want and even use Stack Overflow. Nobody is standing there hovering over their shoulder. This interview gets weighted more than the previous one.
Those are all things that I'd consider invasive that I don't have to deal with during an in-person interview. And the wording is just creepy anyhow.
And given that all of this happens voluntarily, and assuming that Amazon isn't going to infect you with malware(which seems very unlikely) this kind of testing is a great opportunity for people who have the resources or time to show up in person.
There's some kind of privacy chauvinism involved in these discussions that ignores the realities of people who don't live next to the Amazon HQ.
Sorting a list of points or finding a simple pattern in an array will not. If you need SO to answer the types of questions they ask, you probably shouldn't be seeking an engineering position at a software company.
I know I might get shit for it from HN, but I don't remember jack shit about specifics of implementing sorting algorithms or how to invert a binary tree, because I don't need it right now. I know some of the ideas about why and when you need some sorts over others, but the ins and outs I can get if or when I need them.
Currently I could talk you damn ear off about 9 different ways of doing a topological sort (and which ones you can use if it's guaranteed to be a DAG, etc...), but that's only because I spent my last few days working very closely with stuff like that. Ask me in a month and I'll be back to knowing jack shit about the specifics.
I'm terrible at these kinds of interview questions, but I feel I'm a productive developer.
I left a nice note explaining how I spent a lot of time trying to do it with the language feature, but couldn't due to runtime restrictions, and gave them a working non-optimized solution.
I was emailed to schedule an interview the next day.
I think the anger comes because I see it as a cop out, and I feel I get the short end of the stick in interviews because of it.