3 ms·
What I would wish for is a list of common problems and how certain algorithms and data structures solve them.
by k__ 8y ago
What I would wish for is a list of common problems and how certain algorithms and data structures solve them.
- brian_cloutier 8y agoI recommend Skiena's "The Algorithm Design Manual", it also includes some fun war stories of real world problems he was called in to solve, and the algorithms he used to solve them.
- uncletaco 8y agoWell its not a list per se but many of the interview prep sites tag their problems with the appropriate algorithm/data structure for the job. As someone who has his first SV phone technical interview on Monday and has done ~30 problems in the last two weeks, I can say after solving about 2-3 of them over a number of hours or days you start to recognize which algorithm will get the job done from the problem descriptions.
- k__ 8y agoInteresting :D Would be nice if you could post a list of your resources :)
- throwaway080383 8y agoNot OP, but I used leetcode extensively while prepping for interviews and it worked out well for me. Like she/he said, just spend a few hours a day doing these problems; I even went back to problems I'd previously solved to see if I could write out the correct code in one shot.
- hackandtrip 8y agoNot OP, but a resource commonly suggested is "Cracking the Coding interview"
- azundo 8y agoWould recommend checking out the algorithm design manual if you're looking for a book with that sort of approach. Edit: just noticed this was already recommended below, take this as another strong endorsement!