← Adobe questions

Maximum Water that can be stored between two buildings

Filed under Adobe

Given an array of non-negative integers representing the heights of buildings, find the maximum amount of water that can be stored between two buildings. The width between buildings at index i and j…

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.