Database
aa0598.txt
Associated article: Algorithm Alley
Tags: Database JVM Languages Design
Published source code accompanying the article by John Boyer in which he introduces algorithms for and implementations of linked list sorting and searching that are more efficient than those available in the Java Developer's Kit 1.2 Beta 2. Also see AA598.ZIP
Algorithm Alley
by John Boyer
Listing One
// Singly Linked List Quicksort
private Node QuickSort(Node before, Node first, int n) {
int Num1=0, Num2=n, i=1;
Node Pivot=first, aNode=first, aNodePrev=first;
// Pivot Advancement
for (i=1; i<n; i++, ...


