---
title: "Discussion on \"Container With Most Water\" | Hashnode"
description: "Discussion on \"Container With Most Water\". Leetcode Problem\nGiven an array of different height values, find the two \"banks\" that produce the most water valume.\nNote that water will be limited by the lowest bank.\n\nThis is a two-pointer problem.\nPseudocode\nDeclare a left and right pointer, as w..."
url: "https://hashnode.com/posts/container-with-most-water/6639273b3cc911557011bdae"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Container With Most Water](https://jimboslice.hashnode.dev/container-with-most-water?utm_source=hashnode&utm_medium=feed)

Leetcode Problem Given an array of different height values, find the two "banks" that produce the most water valume. Note that water will be limited by the lowest bank. This is a two-pointer problem. Pseudocode Declare a left and right pointer, as w...

May 6, 2024 · 1 min read · jimboslice.hashnode.dev  
Read the article

-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#two-pointers](https://hashnode.com/tag/two-pointers)

## Written by

[Jimmy Hogerty](https://hashnode.com/@Jimmyhogerty)

@Jimmyhogerty

  
[View profile](https://hashnode.com/@Jimmyhogerty)

Software Engineer

I enjoy all things related to full stack development ☕️

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
