UiPath Interview Question

Trapping rain water problem