Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a solution to a common interview question #1

Open
JingMa87 opened this issue Oct 5, 2016 · 12 comments
Open

Add a solution to a common interview question #1

JingMa87 opened this issue Oct 5, 2016 · 12 comments

Comments

@JingMa87
Copy link
Owner

JingMa87 commented Oct 5, 2016

The goal of this project is to make common implementations of interview questions available to the general public. The general rule to contribute is that your code has to solve a common interview question. The guideline for what's a common question is the book 'Cracking the Coding Interview' by Gayle McDowell which you can find here. I don't accept pull request for very specialized algorithms and data structures. In case you're not sure whether you should contribute certain code, discuss it with me first.

Good luck hackers! 😄 💯

@erriapo
Copy link

erriapo commented Oct 5, 2016

Should it be in Java 8/Java7 ?

@minibhati93
Copy link

Can the solutions be in Python 2.7? Also, is there a specific list of problems that you are expecting?

@JingMa87
Copy link
Owner Author

JingMa87 commented Oct 5, 2016

@erriapo In Java 8!
@minibhati93 I only accept pull requests in Java 8 and you can check out the book I linked before for common questions. You can find a free pdf version online. 👍

@prashant2018
Copy link

@JingMa87 can I add the question and its solution which was asked to me in an tech interview ?

@jayMcoder
Copy link

#4 Bit Manipulation solution added

@JingMa87
Copy link
Owner Author

@prashant2018 If the solution solves a common interview question, then yes!

@popovbodya
Copy link

#7 Recursion solution added

@javouhey
Copy link

#8 Insertion sort O(n) best, O(n^2) worst.

@differsthecat
Copy link

differsthecat commented Oct 11, 2016

#9 Generate all permutations of a string added
@JingMa87 Can we add multiple questions?

@JingMa87
Copy link
Owner Author

@rmcute You can add multiple questions if you want. 😋

@popovbodya
Copy link

#13 #11 Added 2 new question solutions

@popovbodya
Copy link

#17 Added one more question solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants