• Stars
    star
    166
  • Rank 227,748 (Top 5 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created almost 5 years ago
  • Updated 10 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 Java

Classic Computer Science Problems in Java

This repository contains source code to accompany the book Classic Computer Science Problems in Java by David Kopec, available from Manning, Amazon, and other fine book sellers. 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. The book was published in December, 2020.

Classic Computer Science Problems in Java Cover

Conventions

The source code was written against version 11 of the Java language and should run on any known newer version at the time of publication. It makes use of no Java libraries beyond the standard library. It was developed in Eclipse and this folder can be opened as an Eclipse workspace. You can then right-click any file with a main() method and select "Run" to compile and execute it. All other popular Java IDEs can import Eclipse projects, but you can also easily create a project out of each chapter, which is bundled as a Java package. For directions importing Eclipse projects into IntelliJ see this tutorial from Jetbrains.

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.

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

ClassicComputerScienceProblemsInPython

Source Code for the Book Classic Computer Science Problems in Python
Python
1,002
star
2

SwiftGraph

A Graph Data Structure in Pure Swift
Swift
755
star
3

SwiftPriorityQueue

A Generic Priority Queue in Pure Swift
Swift
372
star
4

ClassicComputerScienceProblemsInSwift

Source Code for the Book Classic Computer Science Problems in Swift
Swift
187
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