Monthly Archives: February 2015

Every Day We’re Shuffling…

A friend of mine is working on a shuffling algorithm. Here’s what he’s got: int *shuffle2(int numItems) { //int index[numItems]; int *randomIndex = malloc(sizeof(int)*numItems); int i,j; for(i = 0; i < numItems; i++) { //index[i] = 0; randomIndex[i] = -1; … Continue reading

Posted in Uncategorized | Leave a comment