> Data Structures and Introduction to Algorithms: everyone needs this and it is maybe 50% of leet code problems
What’s the other 50%? I’d have thought DS&A would cover everything.
What’s the other 50%? I’d have thought DS&A would cover everything.
I am not sure if there are any problems on leetcode that require any of these, but based on a sample of a few of their contests, if they exist they are a very small fraction (<<50%) of all problems.
The vast majority require:
- no DS&A knowledge whatsoever
- basic techniques (recursion, simple graph/tree algos, binary search, simple dynamic programming)