#include <stdio.h>
int BubbleSort(int a, int length){
int i, j, temp;
for(i = 0;i < n - 1; i++){
for(j = 0;j < n - 1 - i;j++){
if(a[j] > a[j + 1]){
temp = a[j];
a[j] = a[j + 1];
a[j + 1] = temp;
}
}
}
}
int QuickSort(int a, int length){
int key;
}
int BucketSort(){
int key;
}
int counting_sort(int arr,int maxValue){
int bucketLen, bucket, sortedIndex, i, j;
bucketLen = maxValue + 1;
bucket = [0] * bucketLen
sortedIndex = 0
arrLen = sizeof(arr)
for (i=0;i<arrLen;i++){
if (bucket[arr[i]]){
continue;
}
bucket[arr[i]] = 0
bucket[arr[i]] ++
for (j=0;j<bucketLen;j++){
while (bucket[j] > 0){
arr[sortedIndex] = j
sortedIndex++
bucket[j]--
}
}
return arr
}
}
int main () {
return 0;
}