Data Structures and Algorithms: The Relationship
Understand the intertwined roles of data structures and algorithms in programming. Learn to choose and design data organizations and algorithms simultaneously to create efficient and effective software solutions.
We'll cover the following...
We'll cover the following...
Why can’t they be studied in isolation?
Data structures and algorithms are often taught as separate subjects, but that separation can be misleading. They are not independent concepts. They represent two aspects of the same design decision. The data structure you choose determines which algorithms are possible, practical, or optimal. The algorithm you design often dictates which data structure is needed to support it.
This relationship is not one-directional. A skilled engineer does not first pick a ...