Find max element in bitonic array and trapping rain water
Filed under PayU
The question
Given an array that is first increasing then decreasing, find the maximum element and handle boundary cases, and solve the trapping rain water problem.
No write-up yet. Related questions below have one.
Related PayU questions
Collected from public candidate posts and coding forums. Updated Nov 2026.