|
|
|
|
|
by lkozma
3130 days ago
|
|
This is a valid criticism from a practitioner point of view. From someone doing research in algorithms and data structures or someone just curious about it at an intellectual level, there is a different criticism: All this focus on algorithms for the sake of interview-preparation gives the false impression that the field is a closed body of work. In reality it is an active and lively field of research with many (even most) basic questions not yet understood. Someone could go through these 500 questions and for (almost) all of them formulate variants/extensions that would be open research questions. So instead of memorizing them, ask for each: Is this the best possible solution? Can I prove it? What if I restrict what the algorithm can do? What if I give the algorithm extra powers? What if the data comes online? What if the input is noisy? What if I want to optimize space usage instead of time? Is there a trade-off between the two? Etc. etc. And related to the parent question: does the problem model a real practical problem? Why not? Can the model be changed to be more realistic? All that being said, at a first look, the list seems like a quite nice collection of techniques. |
|
This is almost never what you encounter in practice. In practice, you tend to get handed someone's creaking code and asked to build upon it.