filmov
tv
Container with Most Water - Leetcode 11 - Javascript

Показать описание
In this video, Leetcode problem 11 "Container with Most Water" has been made EASY. We will be using Javascript to solve this coding interview question. Overall, this is a relatively simple but important problem that helps illustrate the power of deriving optimal solutions from brute force algorithms and using techniques such as Two pointers in solving problems . It is a great exercise for those looking to find job in big tech FAANG/MAANG companies and also improve their skills in Javascript and problem solving.
0:00 Leetcode 11 Container with Most Water Problem
0:50 Coming up with Brute Force Solution
4:55 Coding Brute Force Solution
7:22 Optimal Solution
8:36 Coding Optimal Solution using Two Pointers Technique
0:00 Leetcode 11 Container with Most Water Problem
0:50 Coming up with Brute Force Solution
4:55 Coding Brute Force Solution
7:22 Optimal Solution
8:36 Coding Optimal Solution using Two Pointers Technique