This repository contains the implementation of various algorithms presented in the book "Grokking Algorithms" by Aditya Bhargava. Each algorithm is implemented in [JAVA].
- Introduction
- Algorithms
- Chapter 1: Introduction to Algorithms
- Chapter 2: Selection Sort
- Chapter 3: Recursion
- Chapter 4: Quick Sort
- Chapter 5: Hash Tables
- Chapter 6: Breadth-First Search
- Chapter 7: Dijkstra’s Algorithm
- Chapter 8: Greedy Algorithms
- Chapter 9: Dynamic Programming
- Chapter 10: K-Nearest Neighbors
- How to Use
- Contributing
- License
- Binary Search
- Selection Sort
- Factorial
- Greatest Common Divisor (GCD)
- Quick Sort
- Simple Hash Table Example
- Breadth-First Search
- Dijkstra’s Algorithm
- Set Covering Problem
- Knapsack Problem
- Longest Common Subsequence
- K-Nearest Neighbors