PHPAlgorithms Versions Save

A collection of common algorithms implemented in PHP. The collection is based on "Cracking the Coding Interview" by Gayle Laakmann McDowell

1.0.2

3 years ago

Add caching for HashTable keys

1.0.1

3 years ago

Small performance improvement for HashTable's.

There is no additional "containsKey" check which costs another O(n) performance.

1.0.0

4 years ago
  • namespace change: from plural to singular
  • strict_types=1 for each class
  • removed deprecated classes (such as HashMap, Comparable, etc.)
  • using spl_object_hash for object keys in HashTable

check out the wiki for further information

0.0.27

4 years ago

0.0.26

4 years ago
  • remove method fix
  • new tests
  • strict types

0.0.25

4 years ago
  • test namespaces
  • LRU Cache NPE

0.0.24

5 years ago

0.0.23

5 years ago

0.0.22

5 years ago

0.0.21

5 years ago