/IntroductionToAlgorithms

Implementations of simple algorithms and data structures with python

Primary LanguageJupyter NotebookMIT LicenseMIT

Introduction to Algorithms

Can't find implementations of algorithms and data structures teached in popular book Introduction to Algorithms, you came at right place. (https://www.amazon.com/Introduction-Algorithms-3rd-MIT-Press/dp/0262033844)

Algorithms and data structures are implemented in python trough the open-source web application jupyter notebook. (http://jupyter.org/)

Installation of environment

As I mentioned I am going to use jupyter notebook but before installing jupyter notebook you need to have installed python. I am working this project in with python version 3.6 on win10.

Firstly we are going to install python:

  1. Go to the site https://www.python.org/downloads/ and find python version 3.6.x and click it
  2. At end of page find executable intaller for your operating system
  3. Click on it and wait until is downloaded
  4. Double click on downloaded file
  5. Select customize installation
  6. Check options: Documentation, pip, tcl/tk and IDLE, Python test suite, py launcher, if you want for all users, click Next
  7. Check options: Associate files with Python, Create shortcuts for installed applications, Add Python to environment variables
  8. If you are satisfied with location of installation click Install

Now we are going to install jupyter notebook:

  1. Open command promt or shell and type:
python -m pip install jupyter

That's it!

To run jupyter notebook open cmd/shell and type:

jupyter notebook

License

MIT