Here is my C solutions for the problems in the book “Cracking the Coding Interview (5th Edition)”. Some chapters are related with OOP, Java and so on. So there is no C solutions for them.
Chapter 1: Arrays and Strings:
- Problem 1.1: C solution
- Problem 1.2: C solution
- Problem 1.3: C solution
- Problem 1.4: C solution
- Problem 1.5: C solution
- Problem 1.6: C solution
- Problem 1.7: C solution
- Problem 1.8: C solution
Chapter 2: Linked Lists:
- Problem 2.1: C solution
- Problem 2.2: C solution
- Problem 2.3: C solution
- Problem 2.4: C solution
- Problem 2.5: C solution
- Problem 2.6: C solution
- Problem 2.7: C solution
Chapter 3: Stacks and Queues:
- Problem 3.1: C solution
- Problem 3.2: C solution
- Problem 3.3: C solution
- Problem 3.4: C solution
Hi Sheng, thanks for the website. Great resource!
Any resource you suggest for solutions of “cracking the coding interview” in Python?
Thanks for visiting my blog!
But I am sorry, I cannot recommend any Python solution for CTCI.
Thanks for your reply. Is that because Python is not your preference for CTCI, or because problems in CTCI cannot be solved with Python?
Neither. Job hunting costs me too much time. And I have to slow down my blog sharing. I will consider to complete this series later.
Thank you! very understandable! I am in the same process and understand what you mean.
Just if you know any good resource for this, I appreciate if you share it here.
If you try to google “cracking the coding interview python”, you will get a lot of resource. But I did not read any of them. So I am sorry that I cannot make any recommendations.
you can get your self best prepared by reading the book : learning Python by Mark Lutz (O’REILLY)
Thanks for this website, really useful. A question about that slogan in the banner, “C code. C code run. Run code run…please!”
What does it mean? It appears to be an attempt at humor, but I’m afraid I don’t get it…
Thanks.
Thanks for visiting my blog. I saw the slogan from the book “Expert C Programming”. But to be honest, I cannot explain it clearly. I do not know why I chose it. But it is the first sentence, which appeared in my brain when I need one.
I recognised that phrase from from Deep C Secrets! It is a parody of a phrase from a child’s book , and a pun on C / See. It ends with pleading because C code can be difficult to get running…
Awesome!
Thank you so much for the clarification!