Jump to content

Sorting algorithms/Quicksort: Difference between revisions

m
→‎{{header|Java}}: Changed to handle subclasses of E
m (→‎{{header|Java}}: Changed to handle subclasses of E)
Line 233:
{{trans|Python}}
 
<java>public static <E extends Comparable<? super E>> LinkedList<E> quickSort(LinkedList<E> arr){
LinkedList<E> less= new LinkedList<E>();
LinkedList<E> pivotList= new LinkedList<E>();
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.