Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Quick sort algorithm (public invocation) */
- public static void sort(int[] elements) {
- shuffle(elements); // 1
- sort(elements, 0, elements.length - 1); // 2
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement