This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
void intswap(int*a,int* b); | |
int less(int a,int b); | |
void quicksort(int *A,int start,int end); | |
int partition(int *A,int start,int end); | |
int main(void) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<stdlib.h> | |
void MergeSort(int *A,int length); | |
void intswap(int*a,int* b); | |
void Merge(int *A,int *L,int leftCount,int *R,int rightCount); | |
int main(void) | |
{ | |
int i; |