Goldman Sachs Interview Question

Trapping rain water Group Anagrams together