Re: Re: Quick Sort for a Struct

Home Forums C Programming Quick Sort for a Struct Re: Re: Quick Sort for a Struct

#3499

Heres a way to do this with a doubly linked list with quicksort. This version of quicksort uses the last item in the
list as a pivot element when partitioning.

input:

output ( sorting with first name as key ):

Share
Tweet
Share
Pin
+1