Week 5: Algorithm analysis,
searching, sorting
void swap(int* a, int* b)
{
int tmp = *a;
*a = *b;
*b = tmp;
}
Swap