I am creating a simulator for Time Complexity. The goal is for students to choose which algorithms they want to compare.
But I want to be able to compare the algorithms that they themselves wrote. I know how to make it work with a compiled .class file.
I was wondering if it is possible for students to simply paste the code (with predefined public methods) and then just run it.
I suppose I have to do something with javak.
Any ideas are welcome!
thank
source
share