Data structures and algorithms are the basic, fundamental building blocks of Computing. They exist in every piece of software you have ever used.
Data structures help us to collect and store data efficiently. Algorithms describe the way these data structures would interact, behave, function to achieve a certain goal. Algorithms are no strangers to us. We are all using algorithms every day in our lives.
You bought a Lego set and found an instruction or guidebook inside. That piece of material which details the steps to take to build a Lego model is the algorithm. Recipes used in cooking contain a step-by-step instruction on what to do. That is an algorithm too.
In the coming chapters we will examine many different data structures and algorithms. We will also cover the basics of Python. We will understand how to measure and evaluate algorithms’ performance with time and space complexity.