Monthly Archives: June 2012

Learning Math through Set Theory

In grade school, we’re taught that math is about numbers. When we get to college (the ones of us who are still interested in math), we’re taught that mathematics is about sets, operations on sets and properties of those sets. … Continue reading

Posted in Blog, Examples | Tagged , , , , , , , , , , , , | 1 Comment

Linear Search Algorithm

I have published code that shows examples of the Linear Search Algorithm. The linear search algorithm iterates through each item in our data structure in search for a specific value. If the current item matches, we can return, else we … Continue reading

Posted in Blog, Examples | Tagged , , , | 2 Comments

Examples of the Binary Search Algorithm

I have published code that shows examples of the Binary Search Algorithm. In order for this algorithm to be applicable, we need to assume that we’re dealing with a sorted list to start. As a result, instead of proceeding iteratively … Continue reading

Posted in Blog, Examples | Tagged , , , , , , , , | Leave a comment

Queue Data Structure

I have just published a program that shows examples of a queue data structure. This page shows examples of the Queue Data Structure. Queues operate under a property of First in First Out (FIFO), which is similar to waiting in … Continue reading

Posted in Blog, Examples | Tagged , , , , , , , , , , , | Leave a comment

Stack Data Structure

I have just published a program that shows examples of a stack data structure. Stacks are an elementary Data Structure where all interaction with the data is done through the looking at the first element. There are two main operations … Continue reading

Posted in Blog, Examples | Tagged , , , , , , , | Leave a comment

Sorting Algorithms (Take Two)

Sorting is an essential part of our everyday lives. Because of this importance, many people have devoted much time towards improving the performance of different sorting procedures. Previously, I wrote a script comparing many of these algorithms. I decided to … Continue reading

Posted in Blog, Examples | Tagged , , , , , , , , , , , , , | 1 Comment