logoalt Hacker News

mekokayesterday at 11:08 PM0 repliesview on HN

Are people still under the impression that testing candidates with coding challenges is in preparation of a job where real world problems are described like "invert the binary tree"?

There was never any value in simply the ability to invert a binary tree from memory. First, contrary to popular belief, this particular challenge is quite trivial, even easier imo than fizzbuzz. The value of testing candidates with easy problems is their usefulness in quickly filtering out potentially problematic coders, not necessarily to identify strong ones.

Second, another common take on coding challenges is that they're about memorization. Somewhat, but only to a point. Data structures and algorithms are a vocabulary. A big part of the challenge of using them "creatively" in real life is your ability to recognize that a particular subset of that vocabulary best matches a particular situation. In many novel contexts an LLM might be able to help you with implementation once the right algorithm has been identified, but only after you yourself have made that insightful connection.

Having said this I generally agree with the philosophy [0] that keeping things simple is enough 95+% of the time.

[0] https://news.ycombinator.com/item?id=47423647