You can look at this code while reading "Algorithms Unlocked" book by Thomas H. Cormen. In some cases these solutions don't fit recomended running time which express in big O notation. But I would be glad if you'll make pull requests to improve them.
Algorithms paths: