An open API service indexing awesome lists of open source software.

https://github.com/thanthtooaung-coding/solving-leetcode-problems

This repository contains solutions to the problems I have solved on LeetCode. I will continue to update it with my progress.
https://github.com/thanthtooaung-coding/solving-leetcode-problems

java leetcode

Last synced: 9 months ago
JSON representation

This repository contains solutions to the problems I have solved on LeetCode. I will continue to update it with my progress.

Awesome Lists containing this project

README

          

# Solving LeetCode Problems

[![CI](https://github.com/thanthtooaung-coding/Solving-LeetCode-Problems/actions/workflows/ci.yml/badge.svg)](https://github.com/thanthtooaung-coding/Solving-LeetCode-Problems/actions/workflows/ci.yml)
[![LeetCode Profile](https://img.shields.io/badge/LeetCode-Vinnn__96-FFA116?style=for-the-badge&logo=leetcode&logoColor=black)](https://leetcode.com/u/Vinnn_96/)

This repository contains my solutions to various LeetCode problems. Each solution is implemented in Java and includes detailed explanations.

## LeetCode Stats
- **Profile**: [Vinnn_96](https://leetcode.com/u/Vinnn_96/)
- **Problems Solved**: 12
- **Languages**: Java

## Repository Structure

Each problem has its own directory containing:
- `README.md` - Problem description, examples, and approach
- `Solution.java` - Java implementation of the solution

## Problems Solved

| # | Title | Difficulty | Solution | Topics |
|---|-------|------------|----------|---------|
| 1 | [Two Sum](Two%20Sum) | Easy | [Java](Two%20Sum/Solution.java) | Array, Hash Table |
| 2 | [Add Two Numbers](Add%20Two%20Numbers) | Medium | [Java](Add%20Two%20Numbers/Solution.java) | Linked List, Math, Recursion |
| 3 | [Longest Substring Without Repeating Characters](Longest%20Substring%20Without%20Repeating%20Characters) | Medium | [Java](Longest%20Substring%20Without%20Repeating%20Characters/Solution.java) | Hash Table, String, Sliding Window |
| 4 | [Median of Two Sorted Arrays](Median%20of%20Two%20Sorted%20Arrays) | Hard | [Java](Median%20of%20Two%20Sorted%20Arrays/Solution.java) | Array, Binary Search, Divide and Conquer |
| 5 | [Longest Palindromic Substring](Longest%20Palindromic%20Substring) | Medium | [Java](Longest%20Palindromic%20Substring/Solution.java) | Two Pointers, String, Dynamic Programming |
| 6 | [Zigzag Conversion](Zigzag%20Conversion) | Medium | [Java](Zigzag%20Conversion/Solution.java) | String |
| 7 | [Reverse Integer](Reverse%20Integer) | Medium | [Java](Reverse%20Integer/Solution.java) | Math |
| 8 | [String to Integer (atoi)](./String%20to%20Integer%20(atoi)) | Medium | [Java](./String%20to%20Integer%20(atoi)/Solution.java) | String |
| 9 | [Palindrome Number](Palindrome%20Number) | Easy | [Java](Palindrome%20Number/Solution.java) | Math |
| 10 | [Regular Expression Matching](Regular%20Expression%20Matching) | Hard | [Java](Regular%20Expression%20Matching/Solution.java) | String, Dynamic Programming, Recursion |
| 214 | [Shortest Palindrome](Shortest%20Palindrome) | Hard | [Java](Shortest%20Palindrome/Solution.java) | String, Rolling Hash, String Matching, Hash Function |
| 2924 | [Find Champion II](Find%20Champion%20II) | Medium | [Java](Find%20Champion%20II/Solution.java) | Graph |

## Categories

### By Difficulty
- Easy: 2
- Medium: 7
- Hard: 3

### By Topics
- Array Problems
- [Two Sum](Two%20Sum)
- [Median of Two Sorted Arrays](Median%20of%20Two%20Sorted%20Arrays)
- Hash Table Problems
- [Two Sum](Two%20Sum)
- [Longest Substring Without Repeating Characters](Longest%20Substring%20Without%20Repeating%20Characters)
- String Problems
- [Longest Substring Without Repeating Characters](Longest%20Substring%20Without%20Repeating%20Characters)
- [Longest Palindromic Substring](Longest%20Palindromic%20Substring)
- [Zigzag Conversion](Zigzag%20Conversion)
- [Shortest Palindrome](Shortest%20Palindrome)
- [String to Integer (atoi)](String%20to%20Integer%20(atoi))
- [Regular Expression Matching](Regular%20Expression%20Matching)
- Dynamic Programming Problems
- [Longest Palindromic Substring](Longest%20Palindromic%20Substring)
- [Regular Expression Matching](Regular%20Expression%20Matching)
- Linked List Problems
- [Add Two Numbers](Add%20Two%20Numbers)
- Math Problems
- [Add Two Numbers](Add%20Two%20Numbers)
- [Reverse Integer](Reverse%20Integer)
- [Palindrome Number](Palindrome%20Number)
- Binary Search Problems
- [Median of Two Sorted Arrays](Median%20of%20Two%20Sorted%20Arrays)
- Graph Problems
- [Find Champion II](Find%20Champion%20II)
- String Matching Problems
- [Shortest Palindrome](Shortest%20Palindrome)
- Recursion Problems
- [Regular Expression Matching](Regular%20Expression%20Matching)

## About LeetCode

[LeetCode](https://leetcode.com) is a platform for preparing technical coding interviews. It has a vast collection of problems covering various topics in computer science.

## Contributing

While this repository primarily contains my personal solutions, feel free to:
- Suggest improvements to existing solutions
- Point out bugs or issues
- Discuss alternative approaches

## License

This repository is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.