This repository contains my solutions of the book Classic Computer Problems in Python by David Kopec.
- Chapter 1: Small problems
- Chapter 2: Search Problems
- Chapter 3: Constraint-satisfaction problems
- Chapter 4: Graph problems
- Chapter 5: Genetic algorithms
- Chapter 6: K-means clustering
- Chapter 7: Fairly simple neural networks
- Chapter 8: Adversarial search
- Chapter 9: Miscellaneous problems
You can find general questions and descriptive information about the book on the Classic Computer Science Problems website.
The source code in this repository requires Python 3.7 and installation of the typing_extensions package. Due to its extensive use of Python 3.7 features (data classes, advanced type hints, etc.), most of the source code will not work with earlier versions of Python. You can install the typing_extensions package with pip3 install typing_extensions or pip install typing_extensions depending on your Python/pip setup.
All of the source code in this repository is released under the Apache License version 2.0. See LICENSE.