LeetCode 11. Container With Most Water [Algorithm + Code Explained ]

preview_player
Показать описание
One of the most frequently asked coding questions on Arrays in companies like Google, Facebook, Amazon, LinkedIn, Microsoft, Uber, Adobe etc

This is a classic example of the two pointer approach to solve questions on Arrays.

Рекомендации по теме
Комментарии
Автор

Proving why greedy algorithm works is the most toughest part of comming up with the solution!

kewtomrao
Автор

im getting arrayindexout of bound what should i do?

NirajKumar-cekn
Автор

I really liked the notes with different approaches. You got a subscriber.

SunilKumar
Автор

What is the difference b/w this Q and *Largest Rectangle in Histogram* ?

sayantaniguha
Автор

Could you please make solutions in cpp mam

venkatabhavanbharadwaj
join shbcf.ru