Old Content:
MergeSort and QuickSort, Implemented Using Java
March 16, 2009 by Kyle BradyTags: Code, Code Samples, Full Code Release, Java
As required by the FTC, a Full Disclosure is available - this piece adheres to the Code of Ethics
The real difference is that this uses Comparator data types instead of being type-dependent, meaning it can sort everything but an int.
It was due at midnight tonight, and I was done earlier, so this is a scheduled post.
All code is now available via SVN, and a web browsing utility.
Note: I am not advocating using this code in place of doing your own homework, or in any situation other than pure interest. However, in the event that you do, I am not responsible for any resultant issues (legal, moral, or ethical) that may arise. Finally, I am not presenting these as perfect cases, the best way to approach the problems, nor the fastest. They are, simply, viable solutions.
Kyle can be found on Twitter and MySpace, or reached via email.






