You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C implementations of the algorithms and data structures detailed in the Algorithms 4th ed. textbook by Robert Sedgewick and Kevin Wayne. The textbook implementations are in Java, and I found re-implementing them in C to help with my understanding.
Test clients inspired by the textbook for some of the algorithms. Run make in each algorithm directory to build the test client(s).
Unit test suites for each of the algorithms and data structures. These are written in the Unity Test framework. To run the tests, simply call make from the tests directory.
My solutions to the Java programming assignments from the Coursera series based on the textbook (Part I, Part II).
Implementations
Most implementations below support storage of generic object types, including C primitives, C-strings, or structs. Custom structs require the client to implement comparator functions for some data structures.
For several of the data structures (e.g. symbol tables), multiple underlying implementation are available to be selected.