Shuffle Algorithms

In 1938, Ronald Fisher and Frank Yates developed the Fisher-Yates shuffle algorithm. It is a random, un-biased (all possibilities are equally likely) shuffle on a set »

How to Build an Algorithm Part 2: Iterate Through Possible Solutions

This is the second of two parts on building an algorithm. After you've defined your inputs and outputs (from Part 1) you can start working through »

How to Build an Algorithm Part 1: Defining the Problem

The first thing you need to do when building an algorithm is clearly define the inputs and the outputs. This includes the data types to be »