My personal implementation of common algorithms in C++