leetcode/0011_container-with-most-water/NOTES.md

9 lines
129 B
Markdown

## Approaches:
1. Brute force $O(N^2)$
2. Two-pointer $O(N)$
## Follow-up questions
1. What if you could slant the container?