remove element

two poniters
[dfs] combination sum
[dfs] permutations
trapping rain water

two pointers:
 1) left to max
 2) right to max