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

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++.

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!