Sorting Algorithms with php
- PHP 7.2 or higher (We have used PHP 7.3 for development)
- Composer
- Clone the repository
- Make sure
PHPandcomposeris installed in system - Run
composer installto install the dependencies
- Our solutions are inside the
srcdirectory - Inside each problem directory we have 2 files
app.phpandindex.php - Here
app.phpcontains the actual solution of the problem index.phpis used to demonstrate the solution. Eachindex.phpuses it's respectiveapp.phpfor 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.