grokking_algorithms README

The project's README from github.com/egonSchiele/grokking_algorithms. As one markdown file: README.md.

Grokking Algorithms

This is the code in my book Grokking Algorithms.

Check out Python Tutor, a great website that guides you through Python code line by line.

Errata

Here's the errata page.

Images

This repository contains every image in Grokking Algorithms in high resolution. These images are available for non-commercial use. If you use an image, please add "copyright Manning Publications, drawn by adit.io". You are welcome to use these images in any non-commercial materials (i.e. teaching materials, presentations, etc.)

Contributing

Thanks for wanting to contribute to this repo!

If you have found a mistake in the book or have a question, please email me as that will be the best way to get a response. My email is listed on my website, adit.io. If you would like to make a change, please go ahead and open a PR with your suggested change. I am quicker at responding to those than I am to issues.

It takes me a long time to respond to PRs. It's something I'm trying to get better at, but I apologize in advance for how long it will take. I will eventually get to it.

The contributions that are most useful are:

I'm less likely to merge code that involves stylistic changes, and I'm very unlikely to merge PRs that add complex optimizations, as the main purpose of this repo is to have easy to read examples that help people understand concepts.

Thanks for contributing and I hope you're enjoying the book!

grokking_algorithms (egonSchiele/grokking_algorithms)

Searching Database…

What is this?This repository holds the source code examples from the book Grokking Algorithms by Aditya Bhargava, meant to be read alongside the book's chapters.
Is this a library I install, or just companion code for the book?It is just companion source code to read next to each chapter, not a package or library you add to a project.
How do I use this code?Clone the repo and open the folder for the chapter you're reading; there is no build step, install, or package to run.
Do I need Python to run the examples?The book's original code is in Python (the README points readers to Python Tutor for stepping through Python code), and contributors have also added ports in other languages such as JavaScript.
Will the code here be optimized and production-ready?No, the author favors readable code over clever optimizations and says PRs with complex optimizations or pure style changes are very unlikely to be merged.
Can I reuse the book's images in my own materials?The code's license isn't explicitly stated, but the book's illustrations are free to use in non-commercial materials like teaching slides if credited to Manning Publications and artist adit.io.
What is Python Tutor mentioned in the README?It's a third-party website recommended by the author that visually steps through Python code line by line, which helps when following the book's Python examples.
How should I credit the book's diagrams if I reuse them?Add the attribution 'copyright Manning Publications, drawn by adit.io' whenever you use an image in non-commercial teaching materials or presentations.
Size
108.1 MB
Stars
13.7K
Updated
CommitApr 12
Age
10y
Commits · 90 Days