ordinaryman09 / Recursive-Merge-Sort-in-PHP

Recursive Merge Sort Function in PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recursive Merge Sort Function in PHP By Benjamin J. Balter

Files Includes:

  1. merge-sort.php - Function to recursively merge and sort an array
  2. example.php - Example usage of merge-sort.php. Passes an arbitrary array of values to merge-sort and returns output
  3. api.php - Example RESTful API built on merge-sort.php. Can return output of merge-sort.php as JSON, JSONP, and XML
  4. index.html - Example web page that dynamically queries the merge-sort API in real time as user enters list of values
  5. css and js folders - support files for index.html example

About

Recursive Merge Sort Function in PHP