• Stars
    star
    1,002
  • Rank 45,804 (Top 1.0 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created over 6 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Source Code for the Book Classic Computer Science Problems in Python

Classic Computer Science Problems in Python

This repository contains source code to accompany the book Classic Computer Science Problems in Python by David Kopec. You will find the source organized by chapter. As you read the book, each code listing contains a file name that corresponds to a file in this repository.

Classic Computer Science Problems in Python Cover

Get the Book

  • Manning the publisher sells both hard copy and DRM-free eBook editions
  • Amazon if you buy the hard copy from Amazon, it will come with a way to download the eBook for free from the publisher

Versioning and Packages

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.

Questions about the Book

You can find general questions and descriptive information about the book on the Classic Computer Science Problems website. Also, feel free to reach out to me on Twitter, @davekopec. If you think you found an error in the source code, please open an issue up here on GitHub.

Free Content Based on the Book

License

All of the source code in this repository is released under the Apache License version 2.0. See LICENSE.

Other Books and Languages

Official Books from the Series by @davecom

Ports

More Repositories

1

SwiftGraph

A Graph Data Structure in Pure Swift
Swift
755
star
2

SwiftPriorityQueue

A Generic Priority Queue in Pure Swift
Swift
372
star
3

ClassicComputerScienceProblemsInSwift

Source Code for the Book Classic Computer Science Problems in Swift
Swift
187
star
4

ClassicComputerScienceProblemsInJava

Source Code for the Book Classic Computer Science Problems in Java
Java
166
star
5

SwiftCSP

A Constraint Satisfaction Problem Solver in Pure Swift
Swift
81
star
6

chess.dart

A library for legal chess move generation, maintenance of game state, and format conversion.
Dart
51
star
7

DKAsyncImageView

A Swift subclass of NSImageView for loading remote images asynchronously.
Swift
47
star
8

Dart-for-Absolute-Beginners

Source Code for the Apress Book Dart for Absolute Beginners
Dart
33
star
9

SwiftSimpleNeuralNetwork

A simple multi-layer feed-forward neural network with backpropagation built in Swift.
Swift
31
star
10

DKDropMenu

A simple iOS drop down list written in Swift.
Swift
25
star
11

PyWeatherKit

A simple Python wrapper for Apple's WeatherKit REST API.
Python
25
star
12

DKVerticalColorPicker

A simple iOS color picker presented as a vertical hue bar.
Objective-C
23
star
13

SVGChart

A C++ Library for Making SVG Charts (fork of PPlot)
C++
15
star
14

DK86PC

A WIP Intel 8086 and IBM PC 5150 emulator.
C
13
star
15

MazeSolvingGUI

A simple tkinter GUI for illustrating DFS and BFS.
Python
10
star
16

DKPhotoCapture

A camera capture class like UIImagePickerController that allows for scribbles and overlayed text.
Objective-C
9
star
17

RayTracingInOneWeekend

Swift 4 Implementation of Ray Tracing in One Weekend by Peter Shirley
Swift
6
star
18

SuperSimpleGraphics

An SVG generating single header file C library appropriate for "intro to programming" classes in C/C++.
C
6
star
19

nflate

Naive implementation of DEFLATE in C for decompressing gzip files (RFC 1951, RFC 1952).
C
4
star
20

ChipLate

A simple CHIP-8 Emulator in Swift
Swift
4
star
21

raycaster

A simple raycaster hacked together as a learning project in C & SDL.
C
3
star
22

constraineD

Constraint Satisfaction Problem Solver for Dart
Dart
3
star
23

DKOutlineButton

A simple Swift subclass of UIButton for setting outlines in IB.
Swift
2
star
24

dissolve

Make an animated GIF that dissolves from one image to another using Python's Pillow.
Python
2
star
25

SwiftRedBlackTree

A Red-Black Tree Implemented in Swift
Swift
2
star
26

AddContactExample

Add a contact to the address book without an entitlement.
Swift
2
star
27

Crump

OS X Arcade Game Written in Swift
Swift
2
star
28

DDNES

Personal Learning Project Hacking Together a NES Emulator in C w/ SDL
C
1
star
29

chapter15

Part of the Git Tutorial from Chapter 15 of Dart for Absolute Beginners.
Dart
1
star
30

SwiftThreeWayRadixQuicksort

An Implementation of Three-way Radix Quicksort in Swift
Swift
1
star
31

HNSentiment

Analysis of Hacker News sentiment.
Python
1
star
32

Connect4ChallengeJava

An incomplete implementation of Connect 4 in Java 8 with tests for accurate completion.
Java
1
star