miniOrange interview question

Dropping rain water leetcode question