← All problems
Medium · Two Pointers

Container With Most Water

Choose two vertical lines maximizing the enclosed water area.

Full problem and submission ↗
main.js

Console

Ready