- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Day 27 || Find Peak Element in Mountain array|| leetCode 852 || DSA live with me || binary search
You are given an integer mountain array arr of length n where the values increase to a peak element and then decrease.
Return the index of the peak element.
Your task is to solve it in O(log(n)) time complexity.
00:00 - Introduction and audio setup
03:56 - Problem analysis and mountain array definition
05:31 - Choosing Binary Search for O(log n) complexity
08:24 - Explanation of start, end, and mid pointers
13:01 - Visualizing the peak element condition
15:14 - Setting up pointers in the code
20:21 - Handling integer overflow for mid calculation
27:56 - Logic for navigating array slopes
37:26 - Coding refinements and interview advice
51:11 - Full code dry run and logic debugging
1:16:46 - Successful LeetCode submission
1:18:21 - Future plans and closing remarks
Видео Day 27 || Find Peak Element in Mountain array|| leetCode 852 || DSA live with me || binary search канала AYUSH SINGH
Return the index of the peak element.
Your task is to solve it in O(log(n)) time complexity.
00:00 - Introduction and audio setup
03:56 - Problem analysis and mountain array definition
05:31 - Choosing Binary Search for O(log n) complexity
08:24 - Explanation of start, end, and mid pointers
13:01 - Visualizing the peak element condition
15:14 - Setting up pointers in the code
20:21 - Handling integer overflow for mid calculation
27:56 - Logic for navigating array slopes
37:26 - Coding refinements and interview advice
51:11 - Full code dry run and logic debugging
1:16:46 - Successful LeetCode submission
1:18:21 - Future plans and closing remarks
Видео Day 27 || Find Peak Element in Mountain array|| leetCode 852 || DSA live with me || binary search канала AYUSH SINGH
Комментарии отсутствуют
Информация о видео
20 ч. 49 мин. назад
01:25:43
Другие видео канала





















