How thealgorithms/java works
The Algorithms - Java is an educational collection of independent Java implementations, not a single application with a shared runtime pipeline. A learner selects an algorithm, supplies its inputs through that implementation’s API, and uses its computed result. The graph groups representative algorithm families and core data structures; it does not imply calls between them. The README describes the collection broadly, while sampled source confirms only selected implementations, so unsampled capabilities are represented by their exact source directories without inferred wiring.
Components 21
Algorithm families
- Backtracking
src/main/java/com/thealgorithms/backtracking - Divide and conquer
src/main/java/com/thealgorithms/divideandconquer - Dynamic programming
src/main/java/com/thealgorithms/dynamicprogramming - Greedy algorithms
src/main/java/com/thealgorithms/greedyalgorithms - Graph algorithms
src/main/java/com/thealgorithms/datastructures/graphs
Data structures
- Caches
src/main/java/com/thealgorithms/datastructures/caches/LIFOCache.java - Hash maps
src/main/java/com/thealgorithms/datastructures/hashmap/hashing/HashMap.java - Linked lists
src/main/java/com/thealgorithms/datastructures/lists/SinglyLinkedList.java - Queues
src/main/java/com/thealgorithms/datastructures/queues/Queue.java - Trees
src/main/java/com/thealgorithms/datastructures/trees/BinaryTree.java
Text and encoding
- Compression
src/main/java/com/thealgorithms/compression/HuffmanCoding.java - Ciphers
src/main/java/com/thealgorithms/ciphers - Conversions
src/main/java/com/thealgorithms/conversions - String search
src/main/java/com/thealgorithms/strings/HorspoolSearch.java
Math and science
- Bit manipulation
src/main/java/com/thealgorithms/bitmanipulation - Matrix operations
src/main/java/com/thealgorithms/matrix - Computational geometry
src/main/java/com/thealgorithms/geometry/BentleyOttmann.java
Search and utilities
- Search algorithms
src/main/java/com/thealgorithms/searches - Streaming filters
src/main/java/com/thealgorithms/streaming - Other algorithms
src/main/java/com/thealgorithms/others
Other components
- Learner