diff --git a/Sorts/CountSort.java b/Sorts/CountSort.java deleted file mode 100644 index 232df591..00000000 --- a/Sorts/CountSort.java +++ /dev/null @@ -1,47 +0,0 @@ -public class CountingSort -{ - public static void sort(char arr[]) - { - int n = arr.length; - - // The output character array that will have sorted arr - char output[] = new char[n]; - - // Create a count array to store count of inidividul - // characters and initialize count array as 0 - int count[] = new int[256]; - for (int i = 0; i < 256; ++i) - count[i] = 0; - - // store count of each character - for (int i=0; i