Skip to content

Sample implementations of data structures and algorithms in any programming language.

Notifications You must be signed in to change notification settings

irakr/Data-Structures-and-Algorithms

Repository files navigation

Data-Structures-and-Algorithms

Sample implementations of data structures and algorithms in any programming language.

Implementation

  • Every single data structures or algorithms are implemented in a separate directory.
  • We can run any of the implemented algorithms using the program run.py.

How to do a proper implementation

  • Implement the algorithm in a separate directory.
  • Using Makefile is optional.
  • There must be a shell script named 'run.sh' which contains commands to build and execute the algorithm. However it is done is the implementor's concern, but it should successfully execute the code. See 'run.sh' of the directory 'Singly Linked List' to have a taste of it.
  • Next step is to enter the exact name of the directory which contains the algorithm in the file 'ROOT/Register' in a separate line. Otherwise, 'run.py' will fail to detect your implementation.
  • Run 'run.py'.
  • If all OK, then the algorithm will run as expected.

How to run

  • Linux: Just run the python script 'run.py' from the shell.
  • Windows: It is recommended to install git-bash and run the script 'run.py'. Windows batch scripts are not implemented yet.

About

Sample implementations of data structures and algorithms in any programming language.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published