Algorithms API Documentation

Based on the book by Robert Sedgewick and Kevin Wayne: "Algorithms", 4th edition. This code base is mostly for exploration of the topic of the book.

  • AlgorithmsSW: Detailed descriptions of all APIs, classes, methods, and more.
  • DataStructures: Provide default implementations of common data structures.

My purpose

I wanted to get experience with programming algorithms, including:

  • Writing them as readable as possible. It annoys me how poorly written algorithms are (in textbooks, papers and Wikipedia). nk readability is important at writing correct code.
  • Developing debugging techniques.
  • Getting experience with using Unit tests to ensure correctness.
  • To write documentation for the algorithms (although there is a lot lacking).
  • To get experience with measuring performance and optimizing algorithms.

Contents

(This list is incomplete; I only started my method to mark code recently, so not everything is marked yet.)

Chapter 1

Page References

Algorithms

Section 3

Chapter 2

Page References

Algorithms

Section 1

Section 2

Section 4

Section 5

Chapter 3

Section 1

Section 4

Chapter 4

Algorithms

Section 1

Section 2

Section 3

Section 4

Chapter 5

Algorithms

Section 1

Chapter 6