Given an array of bar heights, compute how much water can be trapped after raining.
Practise this challenge
All coding challenges