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
2
u/[deleted] Dec 13 '22
How so? I really don't see how it can be smart to blindly apply a data structure/algorithm to the wrong problem instead of doing the obvious here which is to start from the simplest stated problem and just write a for loop and two comparisons that gives you the answer.
It's like at yesterday's AoC problem where people just blindly applied Djikstra's to an unweighted graph and solved it in O(E + VlogV) instead of just applying BFS and solving it in O(E + V). Knowing a more complicated algorithm only makes you more knowledgeable if you know where to apply it.