Is there software that can prove the runtime complexity of given code?
1 Answer
$\begingroup$
$\endgroup$
The problem is undecidable in the worst case (halting problem), so there is no general-purpose tool that will work on all code.
There are techniques and tools that can be used in some circumstances. See, e.g., Wikipedia's article on worst-case execution time.