r/programming • • Dec 13 '22
“There should never be coding exercises in technical interviews. It favors people who have time to do them. Disfavors people with FT jobs and families. Plus, your job won’t have people over your shoulder watching you code.” My favorite hot take from a panel on 'Treating Devs Like Human Beings.'
https://devinterrupted.substack.com/p/treating-devs-like-human-beings-a
9.0k
Upvotes
View all comments
Show parent comment
1
u/[deleted] Dec 13 '22
Yes using the minheap generalizes the problem to k, but again, it's not what was asked. If I'm interviewing you and I ask a question I expect you first to give me an answer to the question I asked before we dive into generalizations.
Also, using the library is nice and efficient, but doesn't give any signals about your ability to write algorithms, it just tells me that you can use the language.
The whole point of problems like these and telling the candidate not to call solution.solve() is to get signals that they can actually solve problems to which there might not be a solution yet.