Skip to content

A collection of notes and solutions created for Algorithms, 4th ed. by Robert Sedgewick and Kevin Wayne

License

Notifications You must be signed in to change notification settings

chrswt/algorithms-sedgewick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithms, 4th edition

A collection of notes and solutions created for Algorithms, 4th ed. by Robert Sedgewick and Kevin Wayne

Running the Code

The output for all code can be run with the newest version of node (tested on v6.9.3), which supports ES2015 syntax. For older versions, transpilation using a Babel watcher or using babel-node is required. To run the code, simply execute node [filename] in the /src directory.

Using the Notes

The notes were written for personal benefit and reference and were intended neither as a substitute for the book nor a comprehensive reference. They are included here for completeness and can be accessed through the /notes directory or via the Table of Contents.

Table of Contents

  1. Case Study: Union Find
  1. Analysis of Algorithms
  1. Bags, Stacks, and Queues
  1. Elementary Sorts
  1. Mergesort
  1. Quicksort
  1. Priority Queues
  1. Symbol Tables
  • Chapter Notes
    • symbol tables, ordered symbol tables, elementary implementations, binary search trees

Special Instructions

To use the graph application for the collinear points pattern recognition solver, open /src/mergesort/graph.html and select a file from the /input/mergesort folder. This will plot the points and collinear points as such:
Collinear Points Grapher

About

A collection of notes and solutions created for Algorithms, 4th ed. by Robert Sedgewick and Kevin Wayne

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published