Sort benchmark

This an assignment I did at university, here’s the link.

Run by,

java analyze [inputfile]

Input file should be formed in the following format(note the last comma, if this isn’t added the last input drops),


PS: It’s java btw! If one can convert the sorting techniques to C these would fly I guess…


JC – a pre-compiler script

What is it?

It’s a shell script which only compiles and run the .java you give,if only the .java file is newer than .class file(which should be where the .java file is). Otherwise it’ll just run the existing .class file. Which means YOU save a LOT of TIME by not typing javac and java!

Get it!

Make sure you chmod +x it.