Detecting a Cycle in a Linked Lists

I was asked for a solution to this question on quora in the C programming section, and since i put a detailed answer there, i figured i would post my solutions here as well to reach a broader audience.

Visualizing Trees

If you've ever implemented a tree based data structure, chances are when it came time to display the tree, you were left scratching your head. Sure, different tree traversal algorithms allow us to print the contents in

The binary search algorithm allows use to search for an item in a sorted array with much faster results than performing a search linearly.

A look at the three most common elementary sorting algorithms using perl

The First Three

When learning about sorting algorithms, or whenever one talks about sorting algorithms, there are three elementary sorting algorithms th