Akamai Interview Question

Trapping rain water (leet code hard level)