Skip to content

Python solutions to algorithm problems in Cracking The Coding Interview.

Notifications You must be signed in to change notification settings

jcockbain/ctci-solutions

Repository files navigation

CTCI-solutions

codecov

Python solutions to algorithm questions in Cracking the Coding Interview.

"TODO" comments are left where more efficient solutions are suggested in the book, or follow-up questions not yet answered.

Summary

Each solution, with its tests, should be self-contained inside the one file linked.

Test cases are added as I've understood the problems, and algorithms written to pass these tests.

PRs and issues are welcome where something is incorrect or could be done better!

Running The Tests

I run the tests with pytest.

pytest # whole suite
pytest {path_to_test.py} # particular file

Chapters

About

Python solutions to algorithm problems in Cracking The Coding Interview.

Topics

Resources

Stars

Watchers

Forks

Languages