Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 754 Bytes

File metadata and controls

38 lines (23 loc) · 754 Bytes

Sorting-Algorithms-Php-interviews

Sorting algorithms in PHP

Sorting algorithms implemented in PHP, written for a Google internship interview.

Each algorithm is laid out to be read rather than reused — the point is showing how the sort progresses, step by step.

Algorithms

  • Count Sort
  • Shell Sort
  • Selection Sort
  • Bubble Sort Improved
  • Bubble Sort

Requirements

PHP. No dependencies.

Usage

Run a file directly:

php bubbleSort.php

Or serve the folder and open it in a browser to read through the examples.

Status

Old interview preparation, kept for reference. Not actively maintained.

License

No licence file. All rights reserved unless stated otherwise.