Skip to content

Instantly share code, notes, and snippets.

@caspar
Created January 18, 2014 20:02
Show Gist options
  • Save caspar/8495429 to your computer and use it in GitHub Desktop.
Save caspar/8495429 to your computer and use it in GitHub Desktop.
import java.io.*;
import java.util.*;
public class Sort{
public static void main(String[] args){
public void radixSort{
int
}
public void bSort(int[] a){
//Count the number of comparisons the sort makes
//Count the number of swaps
//Time the routine on data larger and larger data sets until it becomes too slow.
//Compare the speed to the radix sort
int comparisons = 0;
int swaps = 0;
double time = 0;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment