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.
- Count Sort
- Shell Sort
- Selection Sort
- Bubble Sort Improved
- Bubble Sort
PHP. No dependencies.
Run a file directly:
php bubbleSort.phpOr serve the folder and open it in a browser to read through the examples.
Old interview preparation, kept for reference. Not actively maintained.
No licence file. All rights reserved unless stated otherwise.
