I have some codes below which i think are to implement array sort. But no idea about what "x" ,"y" (particularly codes //1, //2, //3,)are used for.
who can help?
Also, what I really want to know how much time complexity has been increased compared to normal bubble sort?Code:void sort(int *p1, int p2)
{
............
}