Ayush7614 / Daily-Coding-DS-ALGO-Practice

A open source project🚀 for bringing all interview💥💥 and competative📘 programming💥💥 question under one repo📐📐
https://daily-ds-algo.github.io/DS-Algo-Website/
MIT License
314 stars 477 forks source link

Create Container with most water.java #2497

Open riyaa2001 opened 2 years ago

riyaa2001 commented 2 years ago

Description

Container with most water

Our aim is to find those two lines, which, together with the x-axis forms a container, such that the container contains the most water.

Link: [https://leetcode.com/problems/container-with-most-water/]

Checklist: