โ† Adobe questions

Trapping Rain Water and finding block with maximum trapped water

Filed under Adobe

Given an array of non-negative integers representing elevation, calculate the total trapped rainwater. Additionally, identify the index where the maximum amount of water is trapped.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Adobe questions

Collected from public candidate posts and coding forums. Updated Nov 2026.