This repository contains my solutions to various LeetCode problems. Each solution is implemented in Java and includes detailed explanations.
- Profile: Vinnn_96
- Problems Solved: 12
- Languages: Java
Each problem has its own directory containing:
README.md- Problem description, examples, and approachSolution.java- Java implementation of the solution
| # | Title | Difficulty | Solution | Topics |
|---|---|---|---|---|
| 1 | Two Sum | Easy | Java | Array, Hash Table |
| 2 | Add Two Numbers | Medium | Java | Linked List, Math, Recursion |
| 3 | Longest Substring Without Repeating Characters | Medium | Java | Hash Table, String, Sliding Window |
| 4 | Median of Two Sorted Arrays | Hard | Java | Array, Binary Search, Divide and Conquer |
| 5 | Longest Palindromic Substring | Medium | Java | Two Pointers, String, Dynamic Programming |
| 6 | Zigzag Conversion | Medium | Java | String |
| 7 | Reverse Integer | Medium | Java | Math |
| 8 | String to Integer (atoi) | Medium | Java | String |
| 9 | Palindrome Number | Easy | Java | Math |
| 10 | Regular Expression Matching | Hard | Java | String, Dynamic Programming, Recursion |
| 214 | Shortest Palindrome | Hard | Java | String, Rolling Hash, String Matching, Hash Function |
| 2924 | Find Champion II | Medium | Java | Graph |
- Easy: 2
- Medium: 7
- Hard: 3
- Array Problems
- Hash Table Problems
- String Problems
- Dynamic Programming Problems
- Linked List Problems
- Math Problems
- Binary Search Problems
- Graph Problems
- String Matching Problems
- Recursion Problems
LeetCode is a platform for preparing technical coding interviews. It has a vast collection of problems covering various topics in computer science.
While this repository primarily contains my personal solutions, feel free to:
- Suggest improvements to existing solutions
- Point out bugs or issues
- Discuss alternative approaches
This repository is licensed under the MIT License - see the LICENSE file for details.