Skip to content

addityeah/time_complexity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •