3 ms·
> DP or graph approaches I don't use either in my day-to-day. I also have memory issues around just memorizing these things. I can probably do it if I can look
by theogravity 2y ago
> DP or graph approaches
I don't use either in my day-to-day. I also have memory issues around just memorizing these things. I can probably do it if I can look up how it works and then translate it.
I have a really bad memory and I don't know if it's related to being aphantasic or not (no mental imaging capacity).
- aoeusnth1 2y agoAgain, it’s not really about “just” memorizing them, it’s about internalizing how they work to the point where they are second nature. Like being able to apply calculus to everyday life, once you have internalized it, it changes how you think about things and analyze problems. Learning calculus through memorization will not help with that.
- theogravity 2y ago> internalizing how they work And how long do you expect that to take? Do you think I haven't tried doing that before? It just doesn't register unless i'm literally doing it every day. And with so many algorithms out there there's not enough time to internalize all that. I don't have that kind of memory everyone else seems to have.
- Izkata 2y ago> And with so many algorithms out there Their point is that this is wrong. They're saying there's a few underlying principles that apply to most of these, and those are what you have to internalize.
- Jensson 2y agoYeah, a few concepts like hashing, "divide and conquer" and dynamic programming is enough to solve most problems. If you understand and know how to use those and a few more well you easily ace interview questions because those are the building blocks for almost all useful simple algorithms that you get asked about in interviews.
- xigoi 2y agoIf you think these things are about rote memorization, you’re doing them very wrong.