# Find the container with the maximum volume of water | Aced

Aced (formerly Exponent) publishes a public search API over its indexed pages; the guide is at https://www.aced.io/agents/agent-access.

Source: https://www.aced.io/questions/4341/container-with-most-water
Source observed: 2026-11-04T23:11:32.605Z
Last checked: 2026-11-04T23:11:32.605+00:00
Indexed: 2026-11-06T04:55:35.522+00:00

---

# Find the container with the maximum volume of water.

We provide interview preparation through courses, practice questions, coaching, and related learning resources. This question is a coding interview problem in **Data Structures & Algorithms** and **Coding**.

## Question details

- **Interview count:** 3 interviews
- **Reported last asked:** 2 years ago
- **Roles:** [Data Scientist](https://www.aced.io/questions?role=data-science), [Data Engineer](https://www.aced.io/questions?role=data-engineer), [Software Engineer](https://www.aced.io/questions?role=swe)
- **Companies:** [Apple](https://www.aced.io/questions?company=apple), [Goldman Sachs](https://www.aced.io/questions?company=goldman-sachs), [Waymo](https://www.aced.io/questions?company=waymo)
- **Categories:** [Data Structures & Algorithms](https://www.aced.io/questions?type=algorithms), [Coding](https://www.aced.io/questions?type=coding)

## Member access

Our detailed video answer is available through [Upgrade](https://www.aced.io/upgrade?src=questions). Membership includes:

- 100+ expert answer videos
- Access to all courses
- Peer-to-peer practice
- Private Discord community
- Full question database

[Upgrade now](https://www.aced.io/upgrade?src=questions)

## Community answers

No answers have been contributed by the community yet. You can [log in or sign up](https://www.aced.io/signup?src=nav&returnPath=/questions/4341/container-with-most-water) to answer this question. Submitting an answer marks the question complete.

## Related questions

- [Find the maximum length sub-array with a given sum.](https://www.aced.io/questions/1115/find-maximum-length-sub-array-with-given-sum)
- [Find the maximum sum of a subsequence with no adjacent elements.](https://www.aced.io/questions/1178/maximum-subsequence-sum-no-adjacents)
- [Find the maximum subarray sum.](https://www.aced.io/questions/973/maximum-subarray-sum)

## Related courses

### [Data Science Interview Prep](https://www.aced.io/courses/data-science)

![Data Science Interview Prep](https://images.ctfassets.net/x78yjrjc11pq/3U4C5C0OkDR0UeGch4AmlE/7ad489430b676a088cb973307fe77884/Data_Science_Interview_Prep_Course.jpeg?w=800&h=800&fm=webp&q=75)

We help candidates prepare for data science roles at Google, Amazon, Microsoft, Meta, Apple, and other top companies. The course covers mock interviews, frameworks, advice from senior candidates, statistics, experimentation, coding, SQL, machine learning, behavioral interviews, and more.

### [Data Engineering Interview Prep](https://www.aced.io/courses/data-engineering)

![Data Engineering Interview Prep](https://images.ctfassets.net/x78yjrjc11pq/5XoOCgXlGqN2fa1zaroNWd/9a2e23df48a212bc00d352873feb2d6a/Data_Engineer_Interview_Prep_Hero_Image.jpg?w=800&h=800&fm=webp&q=75)

We help candidates prepare for data engineering roles at Meta, Google, Amazon, Microsoft, Walmart, DoorDash, and other top companies. The course covers mock interviews, frameworks, advice from senior candidates, data modeling, pipeline design, SQL, coding, and behavioral interviews.

## Explore Aced

We offer:

- [Courses](https://www.aced.io/courses?src=nav), including Product Management, Forward Deployed Engineering, Engineering Management, Software Engineering, System Design, Data Science, Machine Learning, Data Engineering, AI Engineering, Investment Banking, Generative AI, Security Engineer, TPM, Solutions Architect, UX / Product Design, and BizOps & Strategy
- [Loops](https://www.aced.io/guides?src=nav)
- [Experiences](https://www.aced.io/experiences?src=nav)
- [Browse all questions](https://www.aced.io/questions?src=nav)
- [Practice](https://www.aced.io/practice?src=nav)
- [Coaching](https://www.aced.io/coaching?src=nav), including [mock interviews](https://www.aced.io/coaching?category=mock_interviews&src=nav), [resume review](https://www.aced.io/resume?src=nav), [salary negotiation](https://www.aced.io/coaching?category=negotiation&src=nav), and [how coaching works](https://www.aced.io/coaching/start?src=nav)
- [Pricing](https://www.aced.io/upgrade?src=nav)
- [Job referrals](https://www.aced.io/jobs/referrals?src=nav)
- [Blog](https://www.aced.io/blog?src=nav)
- [Resources](https://www.aced.io/resources?src=nav)
- [Work with us](https://www.aced.io/collaborate?src=nav)
- [Perks](https://www.aced.io/perks?src=nav)
- [Programs for universities](https://www.aced.io/pages/university?src=nav)
- [Programs for businesses](https://www.aced.io/pages/business?src=nav)
- [Recruiter job posting](https://www.aced.io/jobs/post?src=nav)
- [Affiliate program](https://www.aced.io/affiliate?src=nav)

[Log in](https://www.aced.io/login?src=nav) or [Sign up](https://www.aced.io/signup?src=nav).

---

[Read this page’s summary](https://www.aced.io/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F4341%2Fcontainer-with-most-water&trace=t_679ff9ab98f3)

## Ask a follow-up about this page

Need a more specific answer? Ask the exact question you have. It returns a fresh, cited answer from Aced (formerly Exponent)’s knowledge base. No account or API key required.

Open this URL with your own question, URL-encoded. Include your question in q. All research inputs are optional; no account or setup.

`GET https://www.aced.io/agents/agent/faq?q={question}&trace=t_679ff9ab98f3`

[Tool guide and examples](https://www.aced.io/agents/agent-access) · [OpenAPI](https://www.aced.io/agents/api/public/v1/openapi.json) · [Page TLDR form](https://www.aced.io/agents/agent-tools/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F4341%2Fcontainer-with-most-water). Opening a form does not execute a tool.