Is there any kind of function which is used in python to calculate the time complexity of another function?
Asked
Active
Viewed 226 times
-1
-
Python-specific questions are off-topic here. – Yuval Filmus Oct 03 '18 at 02:48
-
@DavidRicherby Your comment constitutes an answer to the question. – Yuval Filmus Oct 03 '18 at 02:49
-
@YuvalFilmus Fair point. Done. – David Richerby Oct 03 '18 at 11:16
1 Answers
1
Time complexity, like any other nontrivial property of programs, is undecidable: there can be no algorithm to compute it, in Python or anything else.

David Richerby
- 81,689
- 26
- 141
- 235