You’ve learned a lot in this journey.
You’ve learned that the right choices in algorithm design and data structures can dramatically affect the performance of our code.
You’ve learned how to determine how efficient our code is.
And you’ve learned how to optimize our code to make it faster, more memory-efficient, and more elegant.
What you can take away from this book is a framework for making educated technology decisions. Creating great software involves evaluating the trade-offs of the available options, and you are now armed with the ability to see the pros and cons of each option and make the best choice for the task at hand. And you also have the ability to think of new options that may not have been immediately obvious at first glance.
It’s important to note that it’s always best to test your optimizations with benchmarking tools. Using these tools that test the actual speed of your code is a great sanity check to ensure your optimizations are indeed helpful. There are many excellent software applications out there that can measure the speed and memory consumption of your code. The knowledge in this book, though, will point you in the right direction, and the benchmarking tools can confirm whether you’ve made the right choice.
I hope you also take away from this book the knowledge that topics like these—which seem so complex and esoteric—are just a combination of simpler, easier concepts that are within your grasp. Don’t be intimidated by resources that make a concept seem difficult simply because they don’t explain it well—a concept can always be broken down in a way so that it can be understood.
The topic of data structures and algorithms is broad and deep, and we’ve only just scratched the surface. With the foundation we’ve built, you are now able to explore and master new concepts of computer science, and I hope that you go out there and continue to learn new things and grow in your technical proficiency.
Good luck!