Skip to content

My collection of Python solutions with explanations for the NeetCode150 Problems

License

Notifications You must be signed in to change notification settings

shrenik-jain/neetcode-solutions

Repository files navigation

Solutions and Explanations for Neetcode 150 🚀

This repository contains solutions (with explanations) to the 150 coding interview questions from the popular Neetcode.io platform. These solutions are implemented in Python and cover a wide range of data structures and algorithms commonly asked in coding interviews. The repo will be periodically updated with new solutions!

Purpose

This repository provides a comprehensive resource for anyone preparing for SWE/SDE coding interviews or looking to improve their problem-solving skills. These solutions can help you gain a better understanding of various data structures and algorithms, as well as practice implementing efficient and optimized solutions. The questions are organized in QUESTIONS.md


Tip: Use this repository as a reference after making an honest attempt, and compare your solution to identify areas for improvement. Trying to solve the problems yourself will help you develop your problem-solving ability.

Contributions

Contributions to this repository are welcome! Solutions are also welcome for any other supported language on leetcode. If you have an alternative solution, an optimization, or a new question to add, please feel free to open a PR.

  • Make sure your code passes all the test cases on Leetcode
  • Write clean code with comments that is easy to understand
  • If you find any mistakes, please open an issue

Related Repo

Check out my other repository Leetcode Solutions for solutions to leetcode problems in Python + Java

Contact

If you have any questions, suggestions, or feedback, feel free to reach out to me through email or visit my website