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

Comments

Popular posts from this blog

JVM Notebook: Basic Clojure, Java and JVM Language performance

On Unit Testing, Java TDD for developers to write

Is Java the new COBOL? Yes. What does that mean, exactly? (Part 1)