Friday, March 23, 2012

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

1 comment:

Bangalore Web Guru said...

Great post. Keep it up. Thanks for advice. It is wonderful information for me. Website Designing Company Bangalore | Web Development Company Bangalore