Open in app
Home
Notifications
Lists
Stories

Write
Pushpam Kumar
Pushpam Kumar

Home

Jun 9

Container with most water | Leetcode 11

Container With Most Water - LeetCode You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the…leetcode.com Intuition What is the best possiblity for a container to have maximum water? The best possiblity will be when, you have the widest width(w) and highest height(h), right? So the maximum width we can have is length of the array(n). Now we have to find the height. …

Algorithms

1 min read

Container with most water | Leetcode 11
Container with most water | Leetcode 11
Pushpam Kumar

Pushpam Kumar

Following
  • Netflix Technology Blog

    Netflix Technology Blog

  • WBS CODING SCHOOL

    WBS CODING SCHOOL

  • Kousik Nath

    Kousik Nath

  • Anand Prakash - PingSafe

    Anand Prakash - PingSafe

  • Abhinav Sharma

    Abhinav Sharma

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable