by b20000 · 3y ago · 0 comments
Core knowledge extrapolates... to learn system design, one studies the design of "solved" systems, thus learning to solve for new design problems.
If a company is asking leetcode questions verbatim, they probably don't care so much about that part of the interview anyway
Look, as much as you might want to believe you (and everyone else in the industry) are geniuses, the fact is that we memorize a lot of stuff that were painstakingly invented or discovered by great minds in the past.
If that is "don't need any actual skill" according to your dictionary, then so be it.
A lot of people, especially those who don't do Leetcode or work in a company that asks such questions, think Leetcode should somehow relate to the work and are annoyed, but it's just a test like any other.
It teaches you absolutely nothing about the rest of the job, around comms and leadership, which most of the time are more important than your ability to solve puzzles.
It selects for people who want to get in and want to grind.
You’ve memorized how to build an array in your language of choice. You’ve memorized the patterns that require an array. You might’ve also picked up some techniques for splicing it.
When I see a master working, be it in woodworking, art, or engineering, everything is second nature. Years of seeing what worked and what doesn’t and they make it look effortlessly — almost like they memorized it all.
By all means, if the problem can be easily solved by DFS, but you want to be creative, try something else. If it was really creative, the interviewers will be sure to talk you up and you’ll beat out the “code monkey” that used DFS. If you invented some new type of search, I’ll look out for your paper on it. If you found a new way to hire and cut candidates only leaving the creative geniuses, I’m all ears.