# How to solve two sum problem in Java? [Solved]

**Intuitech**

Two sum problem is an interesting array based coding problem where you need to find two pairs whose sum equals to given number. This article shows multiple ways to solve two sum problem in Java.