Sort benchmark

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

Run by,

javac analyze.java
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),

num1,num2,num3,...,numN,

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

Advertisements

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.