A Quick Note on Algorithms

Matt DeMichele
Geek Culture
Published in
3 min readMay 1, 2021

--

A computer sits on a wooden desk, displaying code
Photo by Maxwell Nelson on Unsplash

For those of you who don’t know, I’m a computer science student and an ever-curious programmer. The world my mind inhabits is a world full of beautifully complex computational problems swirling beneath the cold metallic objects we know as computers.

For most of my life, the processes governing this strange world have been mystifying to me. That is, until I decided to throw myself back into the foray of computer science to grapple with these difficult and ever-fascinating concepts.

As I attempt to grasp the core concepts of computer memory, a word about algorithms and data structures is in order. First, let’s ask the question, what is an algorithm?

An algorithm is any well-defined computational procedure, along with a specified set of allowable inputs, that produce some value or set of values as output. Defined another way by Judith L. Gersting in Mathematical Structures For Computer Science, “An algorithm is a set of instructions that can be mechanically executed in a finite amount of time in order to solve some problem.” Essentially, an algorithm is a set of instructions to the computer.

Typically, a programmer is interested in analyzing an algorithm’s efficiency. Or, more qualitatively, program complexity, which considers both the difficulty of implementing an algorithm and its efficiency.

--

--