Stacks

Stacks

Stacks are a type of list in which all inserts and removals happen at one end. Imagine a normal stack of cafeteria trays: to get one, you take it off…
The Binary Search Algorithm

The Binary Search Algorithm

All right, so you've read about sorting algorithms, and now you've got a sorted array. Just having a sorted array, however, doesn't do anything for you unless you are going…
Data Trees: Introduction

Data Trees: Introduction

It is recommended that you read the essay on linked lists before proceeding to this essay. Trees are data structures organized into a group of interconnected nodes that form leaves…
Sorting Algorithms: Introduction

Sorting Algorithms: Introduction

Sorting has been analyzed by computer scientists for decades, and thus it is an ideal subject to begin with when studying computer science. Sorting is done with algorithms, which are…
Lists and Arrays: Introduction

Lists and Arrays: Introduction

Lists and Array are the most basic types of data structures. They allow the programmer to organize data into more sophisticated patterns than the simple variables would allow. Almost all…
Recursion and Iteration

Recursion and Iteration

Recursion and iteration are two very commonly used, powerful methods of solving complex problems, directly harnessing the power of the computer to calculate things very quickly. Both methods rely on…
The Space-Time Continuum

The Space-Time Continuum

Algorithms like Quicksort and Mergesort are exceedingly fast, but require lots of space to do the operations. On the other side of the spectrum, Bubble Sort is exceedingly slow, but…
Understanding Different Base Systems

Understanding Different Base Systems

This essay is targeted at new students of computer programming or computer science who want to understand how base two (binary), base eight (octal), and base sixteen (hexadecimal) work. First…
How to Study Computer Science

How to Study Computer Science

If you're an aspiring computer science student or someone who wants to switch fields into CS, you're in luck; there's a lot of information available on the Internet. CS is…