This is another interview problem I came across recently. This is the classic
and routine interview question. To summarize, problem can be described as
follows,
> Given n non-negative integers representing an elevation map where the width of
each bar is 1, compute how much water it is able to trap