This repository contains my solutions to various LeetCode problems. Each solution is implemented in Java and includes detailed explanations.
- Profile: Vinnn_96
- Problems Solved: 9
- 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 |
214 | Shortest Palindrome | Hard | Java | String, Rolling Hash, String Matching, Hash Function |
2924 | Find Champion II | Medium | Java | Graph |
- Easy: 1
- Medium: 6
- Hard: 2
- Array Problems
- Hash Table Problems
- String Problems
- Dynamic Programming Problems
- Linked List Problems
- Math Problems
- Binary Search Problems
- Graph Problems
- String Matching Problems
- Math 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.