Created
August 30, 2017 00:22
-
-
Save Kwisses/905da371282654222f17e6057123541f to your computer and use it in GitHub Desktop.
QuickSortDemo - [Java]
This file contains 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
package quicksort; | |
class QuickSortDemo { | |
public static void main(String args[]) { | |
int[] intArray = { 21, 38, 52, 19, 30, 53, 19, 55, 16, 21 }; | |
QuickSort qs = new QuickSort(intArray); | |
qs.run(0, 9); | |
for(int x: qs.getArray()) { | |
System.out.print(x + " "); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment