Learn how to implement the most important natural language processing tasks with Apache OpenNLP >>>

# Algorithms

Algorithms are one of the foundational concepts in programming. Have a look at how to work with the most well-known algorithms using the Java language.

### Find All Pairs of Numbers in an Array That Add Up to a Given Sum

A quick look at several algorithms for finding pairs of numbers in an array that add up to a given sum in Java using traditional for loops and the Java 8 Stream API. >>>

### Create a Sudoku Solver in Java

Building a Sudoku puzzle and an efficient algorithm used for solving it in Java. >>>

### How to Find the Kth Largest Element in Java

Learn several approaches for finding the kth largest element in a set of unique numbers using Java. >>>

### Implementing a Binary Tree in Java

Take a look at implementing a sorted binary tree in Java. >>>

### How to Calculate Levenshtein Distance in Java?

Discover performant methods of calculating the Levenshtein distance. >>>

### Bubble Sort in Java

Learn how Bubble Sort algorithm works, and how to implement it in Java. >>>

### A Guide to Deeplearning4j

See how to create a simple neural network using deeplearning4j library in Java. >>>

### Binary Search Algorithm in Java

Learn how and when to use the Binary Search algorithm. >>>

### Guide to the HyperLogLog Algorithm

A quick and practical guide to HyperLogLog for estimating the cardinality of large data sets in Java. >>>

### Monte Carlo Tree Search for Tic-Tac-Toe Game

Learn Monte Carlo Tree Search (MCTS) algorithm and its applications by exploring implementation for Tic-Tac-Toe game in Java. >>>

### Design a Genetic Algorithm in Java

A quick and practical guide to designing a basic genetic algorithm in Java. >>>

### Dijkstra Algorithm in Java

An explanation and implementation of the Dijkstra Algorithm in Java >>>

### A Collaborative Filtering Recommendation System in Java

Quick intro to the Slope One algorithm used to build a Collaborative Filtering Recommendation system in Java. >>>

### The Traveling Salesman Problem in Java

Quick intro to simulated annealing for the traveling salesman problem in Java. >>>