haitian/data-structures-and-algorithms-in-php

There is no license information available for the latest version (dev-master) of this package.

Classic algorithms and data structures implemented in PHP.

dev-master 2016-05-31 05:54 UTC

This package is not auto-updated.

Last update: 2024-09-26 19:49:37 UTC


README

Classic algorithms and data structures implemented in PHP.

Contents

Data Structures

Graph algorithms

Searching:

  • Depth First Search (wiki)
  • Breadth First Search (wiki)
  • Kosaraju's Algorithm (find all SCCs) (wiki)

Shortest path:

Sorting:

Maths algorithms

  • Binary GCD algorithm (wiki)
  • Closest pairs (wiki)
  • FastPower (wiki)
  • Fibonacci (wiki)
  • Fisher-Yates Shuffle (wiki)
  • Erastothenes Sieve (wiki)
  • Extented GCD algorithm (wiki)
  • Karatsuba's Multiplication (wiki)
  • Newton's Square Root (wiki)
  • Permutations Count
  • Strassen's matrix multiplication (wiki)
  • Randomized Selection

Sorting algorithms

Searching algorithms