Two pointers

Algorithm

42. Trapping Rain Water

We will try three different approaches to solve the problem.

Read