3 ms·
What does “good” mean? You can get a high mileage out of learning how DP and greedy algorithms work and having wide array (hah) of data structures.
by PartiallyTyped 3y ago
What does “good” mean?
You can get a high mileage out of learning how DP and greedy algorithms work and having wide array (hah) of data structures.
- dondraper36 3y agoMy definition of "good" in this context is being able to solve a Leetcoed medium in 25-30 minutes on average.
- PartiallyTyped 3y agoI expected 10-15 minutes for mediums. I was at that point a year ago when I was prepping for AWS and I am not some genius or anything special. It’s probably even easier to just write anki cards with the solutions and memoize them (pun intended).
- nsxwolf 3y agoThat's frankly never going to be possible for someone like me. 10-15 minutes just sounds crazy. I'm lucky if I'm able to understand any problem well enough to get a brute force solution in under an hour. The O(n) or O(log n) they actually want, that's just going to be pure luck that I recognize one of the patterns that will let you apply that. The time constraints just make this whole thing exacerbating.