Welcome to my LeetCode practice solutions repository! This repository contains my solutions to various problems on LeetCode, implemented in Python. The solutions are organized by problem type and difficulty level, with the goal of improving coding skills and preparing for technical interviews.
LeetCode is a popular platform for preparing for coding interviews and enhancing problem-solving skills. This repository serves as a personal collection of my solutions to the problems available on LeetCode. Each solution is designed to be efficient, readable, and well-documented.
-
Clone the repository:
git clone https://github.com/kunalsahjwani/leetcode-practice-solutions.git cd leetcode-practice-solutions
-
Navigate to the problem of interest: Solutions are categorized by difficulty (Easy, Medium, Hard) and problem type (e.g., Arrays, Strings, Trees, etc.).
-
Run the solution: Each problem solution is a standalone Python file. You can run the solution by executing the Python script.
python path/to/solution.py
-
Understand the solution: Each solution file contains a detailed explanation of the approach and logic used to solve the problem.
The solutions are organized into directories based on the problem's difficulty level and category. Below is a sample structure: