Image and Code of the Day
Fig 1: Graph of a 'worse case' number of operations, n^2. Fig 2: Quick Sort Number of Operations vs {n * log(n)} graph. Quick Sort average case is {n * log(n)}. During the quick sort simulation, the number of reported operations aligned with the average case {n*log(n)}. Fig3: R Source for plot of line graph. Data consists of rows of tab delimited integer values. Fig 4: Quick Sort Source in Java