Data Structures and Algorithms
Index
Discussion Questions
- What is 1 of the more important things you should consider when deciding which data structure is best suited to solve a particular problem?
- Do we know the size?
- Will the size ever be zero?
- Will data be duplicated?
- How can we ensure that we’ll avoid an infinite recursive call stack?
- Base case: Define what to do when the function does not call itself.