Apply those fundamentals to crack the coding interview. The 6th edition of Cracking the Coding Interview updates the Sth edition with 70% more content additiona: l questions, revise solutionsd ne,w chapte introductionsr mor, e algorithm strategies hint, s for all problems.
Solutions for Cracking the Coding Interview 6th Edition by Gayle Laakmann McDowell.
CRACKING tlie CODING INTERVIEW 6th Edition 189 Programming Questions and Solutions GAYLE LAAKMANN MCDOWELL Founder and CEO, CareerCup.com CareerCup, LLC. Nov 21, 2016 CrackingTheCodingInterviewSolutions / Cracking the Coding Interview, 6th Edition 189 Programming Questions and Solutions.pdf.
- Ignore the Author and other people talking about piracy, for few minutes! Do some math Assume that you are going to get $100,000 base salary (if you are aiming TOP 10 tech companies in the USA).
- 24 rows Oct 30, 2017 CtCI-6th-Edition. Solutions for Cracking the Coding Interview 6th Edition by Gayle Laakmann McDowell. Crowdsourcing solutions for every widely used programming language. Contributions welcome. Solutions in Java are contained directly in this repo and are the same solutions found in the book.Solutions in other programming languages are contributed by the.
Cracking The Coding Interview Solution
Crowdsourcing solutions for every widely used programming language. Contributions welcome.
Cloning
Solutions in Java are contained directly in this repo and are the same solutions foundin the book. Solutions in other programming languages are contributed by the community and each havetheir own dedicated repos which are referenced from this repo as git submodules. What this means for cloning:
- If you want to make a local clone of solutions in all languages, you should use the
--recursive
option: - If you're only interested in the Java solutions:
- If you originally cloned without
--recursive
, and then later decide you want the git submodules too, run:
Contributing
Cracking The Coding Interview Book
Work Flow
- Fork the appropriate repo for your language to your GitHub user. (see Where to submit pull requests)
- Write quality code and lint if applicable.
- Add tests if applicable.
- Open a pull request and provide a descriptive comment for what you did.
Where to submit pull requests
Pull requests pertaining to Java solutions should be submitted to the main CtCI-6th-Edition repo. Please submit pull requests for all other languages to the appropriate language-specific repo.
Adding a new Language
Solutions in other languages are welcome too and should follow this workflow:
- Create the new repo under your own GitHub user account and start contributing solutions. The repo name should follow this naming convention:
CtCI-6th-Edition-<language>
. - Open an issue on the CtCI-6th-Edition repo to request that your solution repo be promoted to join the careercup GitHub organization and referenced from the main repo as a git submodule.
- If your request is approved, navigate to your repo's settings page and select the 'Transfer Ownership' option, and specify 'careercup' as the new owner.
This repository will contain Python solutions to the problems in the sixthedition ofCracking the Coding Interviewby Gayle Lackmann McDowell.Note that many other solutionsare 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 officialsolutions. Please report any errors you find! At least one (8.11
coins2
)is asymptotically faster than the solution given in the book.