Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 492 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 492 Bytes

Time Complexity Analyser

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).

How to use

  1. Clone the repository

  2. 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

  3. The output will be displayed in the output.txt file

  4. Try