Ola Interview Question

Trapping rain water leet code problem