← All problemsSign in

IPL Street Banner

Your friend is an official employee under BCCI . He is given a task to make an IPL Banner in Delhi . So he got a place where there are $N$ poles of different height and distance between each pole is 1 unit. He don't know which two poles should be chosen so that banner's area becomes maximum. As you are his friend try to help him finding maximum area of banner. $Note$ - Over all the testcase arra

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start