Sorting Algorithms with php
- PHP 7.2 or higher (We have used PHP 7.3 for development)
- Composer
- Clone the repository
- Make sure
PHP
andcomposer
is installed in system - Run
composer install
to install the dependencies
- Our solutions are inside the
src
directory - Inside each problem directory we have 2 files
app.php
andindex.php
- Here
app.php
contains the actual solution of the problem index.php
is used to demonstrate the solution. Eachindex.php
uses it's respectiveapp.php
for the demonstration of that problem
php src/bubble/index.php
php src/heap/index.php
php src/insertion/index.php
php src/merge/index.php
php src/recursive/index.php
php src/selection/index.php
If you have any questions or confusion please email me at [email protected] or open an issue in the repository.