liveBook · Manning

What you will learn in Classic Computer Science Problems in Swift: Essential techniques for practicing programmers

Essential techniques for practicing programmers

by David Kopec

Chapter by chapter

Chapter 1: Chapter 1. Small problems

1.1 The Fibonacci sequence · 1.2 Trivial compression · 1.3 Unbreakable encryption · 1.4 Calculating pi · 1.5 The Towers of Hanoi · 1.6 Real-world applications · 1.7 Exercises

What you learn in chapter 1 →

Chapter 2: Chapter 2. Search problems

2.1 DNA search · 2.2 Maze solving · 2.3 Missionaries and cannibals · 2.4 Real-world applications · 2.5 Exercises

What you learn in chapter 2 →

Chapter 3: Chapter 3. Constraint-satisfaction problems

3.1 Building a constraint-satisfaction problem framework · 3.2 The Australian map-coloring problem · 3.3 The eight queens problem · 3.4 Word search · 3.5 SEND+MORE=MONEY · 3.6 Circuit board layout · 3.7 Real-world applications · 3.8 Exercises

What you learn in chapter 3 →

Chapter 4: Chapter 4. Graph problems

4.1 Building a graph framework · 4.2 Finding the shortest path · 4.3 Minimizing the cost of building the network · 4.4 Finding shortest paths in a weighted graph · 4.5 Real-world applications · 4.6 Exercises

What you learn in chapter 4 →

Chapter 5: Chapter 5. Genetic algorithms

5.1 Biological background · 5.2 Preliminaries · 5.3 A generic genetic algorithm · 5.4 A naive test · 5.5 SEND+MORE=MONEY revisited · 5.6 Challenges for genetic algorithms · 5.7 Real-world applications · 5.8 Exercises

What you learn in chapter 5 →

Chapter 6: Chapter 6. K-means clustering

6.1 Preliminaries · 6.2 The k-means clustering algorithm · 6.3 Clustering governors by age and longitude · 6.4 K-means clustering problems and extensions · 6.5 Real-world applications · 6.6 Exercises

What you learn in chapter 6 →

Chapter 7: Chapter 7. Fairly simple neural networks

7.1 Biological basis? · 7.2 Artificial neural networks · 7.3 Preliminaries · 7.4 The activation function · 7.5 Building the network · 7.6 Classification problems · 7.7 Neural network problems and extensions · 7.8 Real-world applications · 7.9 Exercises

What you learn in chapter 7 →

Chapter 8: Chapter 8. Miscellaneous problems

8.1 The knapsack problem · 8.2 The traveling salesman problem · 8.3 Phone number mnemonics · 8.4 Tic-tac-toe · 8.5 Real-world applications · 8.6 Exercises

What you learn in chapter 8 →

Concepts explained in this book

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.