Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The code examples in each section are written in a tutorial style, which encourages you to build the applications in stages and get a good appreciation for how the algorithms work. In most cases, after creating a new function or method, you’ll use it in an interactive session to understand how it works. The algorithms are mostly simple variants that can be extended in many ways. By working through the examples and testing them interactively, you’ll get insights into ways that you might improve them for your own applications.