This a simple time complexity analyser for C++ code. The objective of this project is to categorise the time complexity of a given C++ code into O(1), O(lg n), O(n), O(n lg n), O(n^2).
-
Clone the repository
-
Run the following command in the terminal
python3 new_build/testcase_generator.py > new_build/testcases.txt && python3 new_build/tryball.py > new_build/output.txt
-
The output will be displayed in the output.txt file
-
Try