LeetCode 33. Search in Rotated Sorted Array

  Рет қаралды 97,250

Nick White

Nick White

4 жыл бұрын

The Best Place To Learn Anything Coding Related - bit.ly/3MFZLIZ
Join my free exclusive community built to empower programmers! - www.skool.com/software-develo...
Preparing For Your Coding Interviews? Use These Resources
--------------------
(My Course) Data Structures & Algorithms for Coding Interviews - thedailybyte.dev/courses/nick
AlgoCademy - algocademy.com/?referral=nick...
Daily Coding Interview Questions - bit.ly/3xw1Sqz
10% Off Of The Best Web Hosting! - hostinger.com/nickwhite
Follow My Twitter - / nicholaswwhite
Follow My Instagram - / nickwwhite
Other Social Media
----------------------------------------------
Discord - / discord
Twitch - / nickwhitettv
TikTok - / nickwhitetiktok
LinkedIn - / nicholas-w-white
Show Support
------------------------------------------------------------------------------
Patreon - / nick_white
PayPal - paypal.me/nickwwhite?locale.x...
Become A Member - / @nickwhite
#coding #programming #softwareengineering

Пікірлер: 135
@alexcuenca
@alexcuenca 2 жыл бұрын
Guys don't freak out, questions like this you have to look up the solution, would someone be able to guess this approach without ever seen a problem similar to this one? Probably not, it doesn't mean you're not smart or that you suck at this. Most people saw the solution if the problem was somewhat hard at least.
@piscopowerdarkside
@piscopowerdarkside 4 жыл бұрын
Oracle asked me this question in an interview and i failed badly lol. With this explanation i look back and can't believe how stupid i was..
@Avagabond
@Avagabond 14 күн бұрын
he is just not good at explaining... may be because he sneaked the answerss from somewhere.. over confidence is not good when you're teaching man
@mrbeastfannatic
@mrbeastfannatic 4 жыл бұрын
Hey nick I keep trying to find your leetcode solutions on GITHUB but I don't really know where the are . Could you let me know which repo do they belong to ?
@MichaelSalo
@MichaelSalo 3 жыл бұрын
How did you decide the first loop condition is (left < right), and the second loop condition is (left <= right) ?
@azn0180
@azn0180 3 жыл бұрын
You are such a legend at young age. Your explanation is much more clearer than leetcode. I hope to see your name on some big thing in the future.
@100bands
@100bands 4 жыл бұрын
This condition "target >= nums[start]" is not needed since nums[start] is already the smallest value in your array
@shaurya4242
@shaurya4242 2 жыл бұрын
Lol got this in a CoderPad interview. Like bruh...how am I supposed to figure this out without looking it up?
@rohanpandey3704
@rohanpandey3704 2 жыл бұрын
How can we get the written code ?
@amansayer4943
@amansayer4943 Жыл бұрын
this guy even make jokes he was like creating history 😂😂
@soledapper
@soledapper 3 жыл бұрын
Right on for explaining it, I knew I had to use the technique from LC 153, but I kept messing up on determining the search space before performing regular binary search.
@benjamimo1
@benjamimo1 3 жыл бұрын
Thanks bro, It became better to understand as you divided the problem in two parts.
@bobmarley3342
@bobmarley3342 3 жыл бұрын
That was "freakin" amazing explanation...Thank you very much!
@wheresthebeach0138
@wheresthebeach0138 4 жыл бұрын
You've got some of the best content out there bro; thank you for all the work you put into these!!
@hacker-7214
@hacker-7214 4 жыл бұрын
this question was so fucking hard almost made me quit coding.
@codegranate7409
@codegranate7409 4 жыл бұрын
Simple and clear explanation! Thank you!
@Xyvier
@Xyvier 4 жыл бұрын
8:54
@anamikakumari3777
@anamikakumari3777 4 жыл бұрын
finding pivot technique .. awesome
@HktDarren
@HktDarren 4 жыл бұрын
HI! Thanks for sharing your knowledge every time, it's really help me, can you also teach us how to look at the time complexity when we finished the program ?
@michaelchan6144
@michaelchan6144 3 жыл бұрын
You are a legend! Never stop making vids!!
Search in rotated sorted array - Leetcode 33 - Python
13:28
NeetCode
Рет қаралды 306 М.
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 6 МЛН
HOW DID HE WIN? 😱
00:33
Topper Guild
Рет қаралды 40 МЛН
LeetCode 48. Rotate Image (Solution Explained)
10:18
Nick White
Рет қаралды 84 М.
Search in rotated sorted array | Leetcode #33
13:52
Techdose
Рет қаралды 82 М.
LeetCode 238. Product of Array Except Self (Solution Explained)
14:49
LeetCode 146. LRU Cache (Algorithm Explained)
18:00
Nick White
Рет қаралды 115 М.
LinkedList vs ArrayList in Java Tutorial - Which Should You Use?
11:43
Coding with John
Рет қаралды 577 М.
I gave 127 interviews. Top 5 Algorithms they asked me.
8:36
Sahil & Sarra
Рет қаралды 617 М.
LeetCode 56. Merge Intervals (Algorithm Explained)
12:57
Nick White
Рет қаралды 89 М.
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 6 МЛН