PHP code example of ridesoft / quicksort
1. Go to this page and download the library: Download ridesoft/quicksort library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ridesoft / quicksort example snippets
use Ridesoft\Algorithm\Quicksort\QuicksortArray;
$quicksortArray = new QuicksortArray([5, 7, 200, 300, 1, 2, 90, 7, 2000, 69, 50, 30, 9, 11]);
$sortedArray = $quicksortArray->getSortedArray()