/** Lab05 - Let's test the Skip list. */ public class Driver { public static void main(String [] args) { SkipList s = new SkipList(); int [] a = { 8, 17, 22, 27, 38, 50, 5, 12, 20, 25, 31, 39, 62, 55 }; // Add keys one by one to the skip list, and on each insertion display // what we have so far. for (int i = 0; i < a.length; ++i) { s.add(a[i]); System.out.printf("\nHere is the skip list:\n%s\n", s.toString()); } } }