Skip to content

sanajitjana/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ View All Problems - Detailed problem documentation and solutions

A collection of my solutions to LeetCode problems, written in JAVA programming languages. This repository is meant to document my learning journey, share my approaches, and help others understand different ways to solve algorithmic challenges.


πŸ“ About

This repository contains solutions to problems from Leetcode. Solutions are organized by problem name/number and language. Each solution includes clear code and, where relevant, explanations or comments to help you understand the approach.


πŸ“š Structure

The repository is organized as follows:

Leetcode-Solutions/
β”‚
β”œβ”€β”€ README.md
β”œβ”€β”€ .github/
β”œβ”€β”€ p/
β”‚   β”œβ”€β”€ README.md
β”‚   β”œβ”€β”€ 0001-two-sum/
β”‚   β”‚   └── README.md
β”‚   β”œβ”€β”€ 0036-valid-sudoku/
β”‚   β”‚   └── README.md
β”‚   └── ... (additional problem directories, each containing README.md and solution files)
  • Solutions are organized under the p/ directory, with each problem in its own subdirectory named by problem number and title.
  • Each problem directory contains a README.md file with the problem description, solution code, and explanations.
  • Some directories may include additional solution files (e.g., Solution.java).
  • The p/README.md provides a comprehensive list of all solved problems with links to their directories.

πŸ§‘β€πŸ’» Languages Used

  • Java

🚩 How to Use

  1. Browse by directory or search for a problem.
  2. Open the file to see the solution and explanation.
  3. Feel free to use these solutions for learning and reference.
  4. If you have a better approach, open a pull request!

⭐️ Support

If you find this repository helpful, please star it!
Your support motivates me to keep solving and sharing more problems.


πŸ“„ License

This repository is licensed under the MIT License.


πŸ† Progress

  • Problems solved: 44
  • Last updated: 02 Nov 2025, 06:52 PM UTC+05:30

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages