© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
P. D. Crutcher et al.Essential Computer Sciencehttps://doi.org/10.1007/978-1-4842-7107-0_3

3. Algorithm and Data Structure

Paul D. Crutcher1  , Neeraj Kumar Singh2 and Peter Tiegs3
(1)
Welches, OR, USA
(2)
Bangalore, Karnataka, India
(3)
Hillsboro, OR, USA
 

Now that we’ve discussed computer hardware and how to program it to achieve desired purpose, we will discuss how to make programs efficient by leveraging well-known algorithms and data structures for managing logic and data, respectively.

What Is an Algorithm

The dictionary defines an algorithm as a step-by-step procedure for solving a problem or accomplishing some end. In other words, an algorithm is a technique ...

Get Essential Computer Science: A Programmer’s Guide to Foundational Concepts now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.