https://github.com/leafycodes/leetcode
This repository contains my personal solutions to LeetCode problems. Almost all problems are solved using Java, with very few in Python or C++.
https://github.com/leafycodes/leetcode
dsa java leetcode leetcode-java leetcode-solutions
Last synced: 7 months ago
JSON representation
This repository contains my personal solutions to LeetCode problems. Almost all problems are solved using Java, with very few in Python or C++.
- Host: GitHub
- URL: https://github.com/leafycodes/leetcode
- Owner: leafycodes
- Created: 2025-04-07T15:02:23.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-04-09T18:01:09.000Z (7 months ago)
- Last Synced: 2025-04-10T00:43:00.127Z (7 months ago)
- Topics: dsa, java, leetcode, leetcode-java, leetcode-solutions
- Language: Java
- Homepage:
- Size: 83 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# 📘 LeetCode Solutions – Java Focused
This repository contains my personal solutions to LeetCode problems.
Almost all problems are solved using **Java**, with very few in Python, C++ or other.
---
## 📊 Problem Count
| Language | Count |
|----------|-------|
| Java | 15 |
| Python | 0 |
| C++ | 1 |
| Others | 6 |
| **Total** | **22** |
---
## 📁 Folder Structure
- `java/` – Java solutions (primary language)
- `python/` – Rare Python solutions
- `cpp/` – Rare C++ solutions
- `others/` – Any other language (e.g., C)
---
## 🧠 Topics Covered & To Be Covered
- Arrays & Strings
- Linked Lists
- Stacks & Queues
- Hash Maps & Hash Sets
- Trees & Binary Trees
- Tries
- Heaps & Priority Queues
- Graphs & Traversals (DFS, BFS)
- Union Find / Disjoint Sets
- Two Pointers & Sliding Window
- Sorting & Binary Search
- Prefix Sum & Kadane's Algorithm
- Recursion & Backtracking
- Dynamic Programming (1D, 2D, State-based)
- Greedy Algorithms
- Topological Sort
- Segment Trees & Fenwick Trees
- Bit Manipulation
- Object-Oriented Design (LRU Cache, Design Patterns)
- Pattern Matching (KMP, Rabin-Karp)
- Shortest Path (Dijkstra, Bellman-Ford, A*, Floyd-Warshall)
---
## 🔗 Profiles
- [LeetCode](https://leetcode.com/governor_leaf)
- [GitHub](https://github.com/leafycodes)
---
> This repository helps me track progress and improve problem-solving skills. Feel free to explore!