Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/w-hat/ctci-solutions

Python solutions to Cracking the Coding Interview (6th edition)
https://github.com/w-hat/ctci-solutions

Last synced: 15 days ago
JSON representation

Python solutions to Cracking the Coding Interview (6th edition)

Awesome Lists containing this project

README

        

# CtCI Solutions

This repository will contain Python solutions to the problems in the sixth
edition of
[Cracking the Coding Interview](http://www.crackingthecodinginterview.com/)
by [Gayle Lackmann McDowell](http://www.gayle.com/).
Note that [many other solutions](https://github.com/careercup/CtCI-6th-Edition)
are available from CareerCup.

Problems 4 and 8 from chapter 7 are particularly noteworthy.
Problem 4 allows you to park cars, and problem 8 provides a simple Othello bot.
You can play against the Othello bot with `python 08-othello.py play`.
Good luck!

Some of these solutions may be asymptotically slower than the official
solutions. Please report any errors you find! At least one (8.11 `coins2`)
is asymptotically faster than the solution given in the book.