Hacker News new | ask | show | jobs
by immigrantheart 1437 days ago
There is a middle ground where we can go from "I don't know anything about DS&A" to "lets invent the next approximate algorithm for this scheduling problem we have".

Even for basic JSON shifting, low effort high gain in performance matters. Do you want to work with someone that doesn't know to use a hashmap instead of nested for loop just for a simple memory vs space tradeoff?

Software engineering is complex enough, and code reviews aren't foolproof way of making sure you aren't screwing up, and nobody has time for detailed code review anyway. You end up have to trust the coder most of the time. You have to trust the coder is competent, smart, and responsible enough and not just "not my job" mentality.

1 comments

Yes but leetcode test beyond the performance implications of data structures. They require you to practice those kind of problems.

Counter point: Performance is mostly irrelevant for like 90% of companies in this day and age. Even iterating through a million items is quite fast.