Skip to content

Instantly share code, notes, and snippets.

View tomauty's full-sized avatar
🌀
melting wind

Tom Auty tomauty

🌀
melting wind
View GitHub Profile
@tomauty
tomauty / tom_merge.cpp
Created February 16, 2012 19:02
Tom's Merge Sort
void MultiSort::mergeSort ( CSVFile &csv, vector<int> &keys )
{
//If vector size is 1, return
if (csv.get_numRows() <= 1)
{
return;
}
//Else split into two separate subvectors
CSVFile left;