A collection of common algorithms implemented in PHP. The collection is based on "Cracking the Coding Interview" by Gayle Laakmann McDowell
Add caching for HashTable keys
Small performance improvement for HashTable's.
There is no additional "containsKey" check which costs another O(n) performance.
check out the wiki for further information