Lionel Blog

The road is under your feet, the heart looks to the distance

LeetCode 11. Container With Most Water 풀이 (Rust)

물을 가장 많이 담을 수 있는 컨테이너 찾기 — Two Pointer 기법 활용

LeetCode 11번 Container With Most Water 문제를 Rust로 풀어봤습니다. Two Pointer 기법을 활용한 O(n) 풀이 방법을 정리합니다.