BNY interview question

Trapping rain water problem with some slight changes

Interview Answer

Anonymous

25 Aug 2022

Using Dynamic problem and two pointer