Hacker News new | ask | show | jobs
by cloverich 1631 days ago
If its helpful, I did read one of those academic books (Segewick) thoroughly. But personally I found the practice questions laborious. You have to do the setup, you don't get the feedback. You don't know if its going to be easy or hard. And it takes some effort to see similar solutions. Conversely, once I paired with it with leetcode, I could e.g. finish reading about topological sort and then go look up common problems. I found alternative solutions, comparisons, got instant feedback, etc. To me, the combination of a quality DS&A book with leetcode for the raw (targeted) practice is a really great combination.