wood burning stoves*
The moose likes Beginning Java and the fly likes Heap Sort and Quick Sort Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Heap Sort and Quick Sort" Watch "Heap Sort and Quick Sort" New topic
Author

Heap Sort and Quick Sort

Stephanie Ll
Greenhorn

Joined: Jan 06, 2006
Posts: 4
Hi
Could someone give me an example where quick sort will be better than heap sort.
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

You might find Wikipedia's heapsort article interesting. There's a section that compares it (in general terms) to quick sort.


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Heap Sort and Quick Sort
 
Similar Threads
question 2
sorting
Quicksort vs Merge Sort
When which is better - Heap Sort or Quick Sort
sorting