I try to use two pointer approach to solve the leetcode Trapping Rain Water problem. My code is below, it won\'t stop when I run it? I not sure what\'s wrong with it.
<