Skip to content

About

A codebase to detect the time complexity of a given program without actually executing it.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

35 Commits

Folders and files

Repository files navigation

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

About

A codebase to detect the time complexity of a given program without actually executing it.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages