Given a piece of code, I may use one of many methods to determine the big O complexity of the code manually (runtime and memory).
But, for a given piece of code, how do I determine whether what I found earlier is correct or not? Are there tools available where I give an EXE, give test cases and I get an output saying that the runtime is O(n^2) and memory usage is O(1) for instance?