https://github.com/danieljhkim/datastructures-algorithms
Data Structures and Algorithms
https://github.com/danieljhkim/datastructures-algorithms
algorithms data-structures java javascript leetcode leetcode-solutions python3
Last synced: 7 months ago
JSON representation
Data Structures and Algorithms
- Host: GitHub
- URL: https://github.com/danieljhkim/datastructures-algorithms
- Owner: danieljhkim
- Created: 2022-05-21T18:57:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-30T23:41:44.000Z (8 months ago)
- Last Synced: 2025-03-31T00:24:26.952Z (8 months ago)
- Topics: algorithms, data-structures, java, javascript, leetcode, leetcode-solutions, python3
- Language: Python
- Homepage:
- Size: 456 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Data Structures and Algorithms
---
This repository contains implementations of various data structures and algorithms in Python and Java, as well as solutions to hundreds of leetcode problems.
> “In programming, as in life, algorithms often teach us that the journey is just as important as the destination.”
- Anonymous
> “Mastering data structures and algorithms is not about knowing every tool but knowing which one to use when it matters most.”
- Anonymous
> “To understand algorithms is to understand the language of efficiency, the grammar of problem-solving.”
- Anonymous
> “A leetcode a day keeps unemployment away.”
---
## Python
#### Algorithms
- **Graph**
- [Bellman-Ford](./python/algorithms/graph/bellmanFord/)
- [BFS](./python/algorithms/graph/bfs/)
- [Dijkstra](./python/algorithms/graph/dikstra/)
- [Floyd-Warshall](./python/algorithms/graph/floydWarshall/)
- [Hierholzer](./python/algorithms/graph/hierholzer/)
- [Kahns - Topological Sort](./python/algorithms/graph/topologicalSort/)
- [Union-Find](./python/algorithms/graph/unionFind/)
- **Array**
- [Sorting](./python/algorithms/array/sorting/)
- [Searching](./python/algorithms/array/search/)
- [Boyer-Moore](./python/algorithms/array/boyerMoore/)
- [Kadane](./python/algorithms/array/kadane/)
- [Sliding Window](./python/algorithms/array/slidingWindow/)
- [Prefix Sum](./python/algorithms/array/prefixSum/)
- [Matrix](./python/algorithms/matrix/)
#### Data Structures
- [Linked List](./python/dataStructures/linkedList/)
- [Cache](./python/dataStructures/cache/)
- [Queue](./python/dataStructures/queue/)
- [Stack](./python/dataStructures/stack/)
- [Tree](./python/dataStructures/tree/)
- [Binary Tree](./python/dataStructures/tree/binaryTree/)
- [Trie](./python/dataStructures/tree/trie/)
- [Segment Tree](./python/dataStructures/tree/segmentTree/)
- [Graph](./python/dataStructures/graph/)
- [Hash Table](./python/dataStructures/hashmap/)
- [Inverted Index](./python/dataStructures/invertedIndex/)
---
## Java
coming soon...
---
## Setup
#### Git Hook Setup
```bash
chmod +x scripts/hooks/commit-msg.sh
```
```bash
chmod +x scripts/install-git-hooks.sh
```
```bash
./scripts/install-git-hooks.sh
```
---