Comment

Comment by no_wizard

I love this

>Data dominates. If you've chosen the right data structures and organized things well, the algorithms will almost always be self-evident. Data structures, not algorithms, are central to programming.

I completely agree with this. Which is why all the LeetCode interviews always struck me as odd. They focus on algorithms, not data structures, which is exactly what you don't want to do out of the gate, most of the time.

I suppose, if you don't know algorithms at all you wouldn't realize when it is either

A) an exception to the rule

or

B) A time where you need to lean into specific algorithm for X, Y or Z reason

However, you can teach algorithms in relatively short order, I have honestly found people grok which data structures to use less easily, though its all anecdotal

parent no_wizard 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton