LeetCode is a very good website to sharpen your programming/problem-solving skills. Of course, not all solutions here are optimal and your suggestions and contributions are welcomed.
- Contains a lot of interview questions and still constantly adding!
- Many languages are used for problems -- you can choose what you want!
Clone it. Have a look at the solutions or some particular question and get inpired!
You can choose any problem in LeetCode and bring your solution here. However, notice the folder structure of current repo
--questions # root folder for questions
--3sum # named after the question title slug
--Solution.java # actual code for the solution. the problem description and maybe even explanation
# for the solution are in the form of comments
- Fork the repository.
- Solve the problem in LeetCode.
- Create the solution file in the correct directory and add the link to README table.
- Create pull request.
- After review and discussions, the patch will be merged!
You are welcome to use Issue Trackers in the repository to bring up any questions!
MIT license. You are free to contribute or hack!