852. Peak Index in a Mountain Array - Day 25/31 Leetcode July Challenge

  Рет қаралды 395

Programming Live with Larry

Programming Live with Larry

Жыл бұрын

Larry solves and analyzes this Leetcode problem as both an interviewer and an interviewee. This is a live recording of a real engineer solving a problem live - no cuts or edits!
Problem: leetcode.com/problems/peak-in...
Twitch: / larryny
Discord: / discord
Instagram: / larrysomewhere
#leetcode #coding #programming

Пікірлер: 7
@Algorithmist
@Algorithmist Жыл бұрын
Did you go to the peak?
@ec8483
@ec8483 Жыл бұрын
Hi Larry, Just curious, how you decide wether is left < right or left
@Algorithmist
@Algorithmist Жыл бұрын
I talk about this in the video! (The part about inclusive bounds)
@narolavarshil6067
@narolavarshil6067 Жыл бұрын
how are you able to figure out (left+right+1)//2 as mid and not (left+right)//2
@Algorithmist
@Algorithmist Жыл бұрын
When you do mid - 1 on something you need it to round up on odd
@JustBR0
@JustBR0 Жыл бұрын
return arr.index(max(arr)) It works!!
@Algorithmist
@Algorithmist Жыл бұрын
As long as you're learning something new!
50. Pow(x, n) - Day 24/31 Leetcode July Challenge
5:17
Programming Live with Larry
Рет қаралды 273
My Brain after 569 Leetcode Problems
7:50
NeetCode
Рет қаралды 2,5 МЛН
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
MrBeast
Рет қаралды 104 МЛН
BS-26. Find Peak Element-II | Binary Search
20:02
take U forward
Рет қаралды 65 М.
Find Peak Element - Leetcode 162 - Python
11:02
NeetCodeIO
Рет қаралды 36 М.
Jump Game | Leetcode Top Interview 150
4:55
Coding Interview Practice With Anurag
Рет қаралды 7
I solved 541 Leetcode problems. But you need only 150.
7:42
Sahil & Sarra
Рет қаралды 2,3 МЛН
25 Nooby Pandas Coding Mistakes You Should NEVER make.
11:30
Rob Mulla
Рет қаралды 265 М.
3016. Minimum Number of Pushes to Type Word II - Day 6/31 Leetcode August Challenge
5:24
Two Pointer Algorithm | Two Sum Problem | Solve DS Problems in O(N) Time
19:18
JAVAAID - Coding Interview Preparation
Рет қаралды 112 М.
Как противодействовать FPV дронам
44:34
Стратег Диванного Легиона
Рет қаралды 98 М.
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 64 МЛН
Yanlışlıkla Telefonumu Parçaladım!😱
0:18
Safak Novruz
Рет қаралды 817 М.