Allowed R6 · Within policy
{
"slug": "container-with-most-water",
"title": "Container With Most Water",
"difficulty": "medium",
"tags": [
"coding",
"onsite",
"swe",
"fundamentals"
],
"is_free": true,
"locked": false,
"frequency": 1,
"last_reported_at": "2026-11-29T16:39:19.363009Z",
"url": "https://www.mokabla.com/en/c/eventum/container-with-most-water",
"agent": {
"page": "https://www.mokabla.com/agent/en/c/eventum/container-with-most-water",
"question": "https://www.mokabla.com/agent/_call/get_question?company=eventum&question=container-with-most-water"
},
"company": {
"slug": "eventum",
"name_en": "Eventum"
},
"body_md": "## Problem\nYou are given an integer array heights where heights[i] represents the height of the i-th bar.\nYou may choose any two bars to form a container. Return the maximum amount of water a container can store.\n\n## Example\nInput: height = [1,7,2,5,4,7,3,6]\nOutput: 36\n\n## Constraints\n2 <= height.length <= 100,000\n0 <= height[i] <= 10,000",
"follow_ups_md": null,
"access": "Question bodies are paid content: a person buys 30 days of access per company (200 EGP or 200 points) in the human app. Agents get titles, tags and difficulty; bodies only for free questions."
}