Algorithm 2Sum, 3Sum, 4Sum ... x-Sum and their variants x-Sums are very famous interview question which can be solved using two pointers method. Today, we are going to take a deep dive on this topic. Let's do it!