😂 Happened with me. Also, it is a valuable lesson to myself and others who may look at experts like you who work in big tech and solve hard-medium problems with ease. It's more about building our conceptual understanding from ground up. Could you share a bit more insight into how you might approach a problem during an interview for which the answer isn't the most obvious or straightforward. Thank you!
I was asked to rotate array in an interview 3 years ago. I solved it in 10 minutes even though it was my first time solving it. I tried the problem again yesterday, I couldn't for the life of me figure it out.
@@dylendye7410 use a temp array of size n. Push elements from index k till n in temp, then push elements from 0 till k. This will run in O(n+k) time. If you are not allowed to use extra memory, you cannot do better than O(nk)
You are my inspiration, bro. Your determination, positivity, and the way you tackle challenges motivate me to push my limits and strive for greatness every single day.
@DANNYEL20122 it's sometimes I stuck in a problem but every time you stuck give your self 15 minutes if you didn't come up with a solution yet just go and see a tutorial check what pattern he used and how did he come up with this solution understand it and go back to the problem and solve it and just remember the pattern not the question and keep practicing and be consistent.
Transpose the matrix and reverse every row. Its not about problem solving its all about keeping in mind what you did for 100th time to solve a problem 😭👍
There are some specific concepts and questions which one needs to practice before so that they can easily find the pattern while solving other problems
# Rotating elements in the # array to the right. def rotatearray(nums,n): for i in range(n): nums.insert(0,nums[-1]) nums.pop(-1) print(nums) nums=[10,20,30,40,50] n=int(input("Enter no. of iterations:")) rotatearray(nums,n)
I think bro speaks python
😂😂👽 underrated comment
What does it mean bro
It's a coding language @@ethicalhacker6191
@@ethicalhacker6191this is a language of coding
He speaks simple words it is Very easy to understand @@ethicalhacker6191
I think this incident took his smile away 🕊.............
😅 u was thinking d same
Bro...
"You can't reach your 100th problem without doing you first" 🔥
My friend cracked interview but I couldn't. It's a heartbreak
"another two hours passed and I couldn't even find out why the solution works"
Exactly how my first time in leetcode was
I thought the friend would also fail 😂
But that was unexpected 💀
Cause it's a relatively easy problem
friend used ai
Its very similar to a specific scene of 3 idiots where farhan and raju gets heartbroken when they came to know that rancho came 1st😂
Vai usi se hi copy kia hai..... Ye log kitab chatne wale log hote hai ek din me 20 question solve krne wale
I too recalled the exact same scene during this vid
What's worse is when you are more knowledgeable than him and can't solve an error but some junior comes and solves it in 15mins😂😂😂
It happens in coding sometimes i think too deep to solve it but it doesn't take all that , sometimes
😂 Happened with me. Also, it is a valuable lesson to myself and others who may look at experts like you who work in big tech and solve hard-medium problems with ease. It's more about building our conceptual understanding from ground up. Could you share a bit more insight into how you might approach a problem during an interview for which the answer isn't the most obvious or straightforward. Thank you!
I was asked to rotate array in an interview 3 years ago. I solved it in 10 minutes even though it was my first time solving it.
I tried the problem again yesterday, I couldn't for the life of me figure it out.
How do you solve it, I can only think of a solution in O(kn) time
@@dylendye7410 use a temp array of size n. Push elements from index k till n in temp, then push elements from 0 till k. This will run in O(n+k) time.
If you are not allowed to use extra memory, you cannot do better than O(nk)
Bro is saying something true, respect 🙏
You are my inspiration, bro. Your determination, positivity, and the way you tackle challenges motivate me to push my limits and strive for greatness every single day.
This made me relief....understood that I'm not alone.🙂
Waiting for the day ,when he sees the camera
The 3 idiot reference 😂
I love this man's videos 😂😂
Love this reminder.
The quato is really good thanks 👍
This is so motivated that's what happened with me when i started my journey in problem solving...🙌
How did you overcome it?
@DANNYEL20122 it's sometimes I stuck in a problem but every time you stuck give your self 15 minutes if you didn't come up with a solution yet just go and see a tutorial check what pattern he used and how did he come up with this solution understand it and go back to the problem and solve it and just remember the pattern not the question and keep practicing and be consistent.
Even don't want to imagine that situation 😭😭😂😂
Transpose the matrix and reverse every row. Its not about problem solving its all about keeping in mind what you did for 100th time to solve a problem 😭👍
There are some specific concepts and questions which one needs to practice before so that they can easily find the pattern while solving other problems
# Rotating elements in the # array to the right.
def rotatearray(nums,n):
for i in range(n):
nums.insert(0,nums[-1])
nums.pop(-1)
print(nums)
nums=[10,20,30,40,50]
n=int(input("Enter no. of iterations:"))
rotatearray(nums,n)
I wanted this badly, thank you!
Legends has it that he hadn't overcame through his broken heart😂
Last sentence was needed
That heart break made bro a 🤖
Then how do we motivate ourselves to solve our first problem?
Learn the basics and concepts first and start with easy questions
It really happens with me most likely
But now I can now understand It's common among coders
Nice advice man
damn thanks bro, much needed
Brroooo, highly relatable😂
Roted array I was also struggling
Then I use simple approach and it not only works I beat 100% submission in terms of time complexity.
If you can't even rotate a matrix, re-do from high school fr
the situation is similar with a scene from "3 Idiots" 🤣
This was me on Datalemur.. I felt disappointed in myself and didn't open my laptop again for a while 😢
I did this exact problem yesterday i feel vet proud
Bro speaks with Indentation
😂 thanks for the encouragement!
If this guy works on his English accent 😂 I will subscribe 😅
Such an inspiring and useful video thanks.
Somehow managed to sleep 😂😂😂
Good video
Bro speaks without emotions 😂
Thank you for Sharing, which programing language you use to solve problem? Plz reply 🙏🙏🙏🙏🙏🙏
Thank you Sir It Saved my life😍
It's the lesson from 3 idiots
Hey Larry,
Do you think IQ correlates to Leetcode rating? Like could someone with 100 IQ achieve Knight on Leetcode?
Jab dost fail hota ha tu Dukh hota hai
But
Jab dost Top karta hai Tu Zaida Dukh hota hai
-Three Idiots
Sir I started solving the leetcode problem with the help of UA-cam videos the way of my approaching is good or bad for improving my self
and this is the problem that's fucking me currently
Same thing happens with me on Excel formula.
Well said!
Farhan ne bhi yahi bolta tha, remember?
this reminded me of the dialogue of 3 idiots, when Rancho tops and Farhan and Raju hardly passed. 😂
Thank you for sharing this.
Asmr coding video?
I solved this problem under half an hour by Javascript
That happens every day to me on roblox
Same thing happened with me in that exact problem
Why you so serious?
🧐🧐🧐 Bro speaks with +9999 ping 😂
3 idiots taught this to us long time ago
This video was funny😂
3 idiots line lol 😂😂
That's a 3 idiots dialogue
Bro said exactly what happened to me😢
Which website?
Bro speaks in lowercase
you spend 24 hour for 3 line of code grape
3 idiots logic 💀
Me also same 😢😢
Bro has so much SOFT skills 😂😂😂
Non tech student can to apply tech and it company
How
Happened many times with me😢
Thank you sir
legend
You are gold
It's me
On which language you are working
Bro is it true
Is it happened for you?
bro became an ai
How can a person be so expression less😅
is this ai generated video?
Bro speaks in lower case
nice words
💯💯💯
So what's solution
3 idiots mentioned
Exactly haha
2 line solution for that problem
k = k % len(nums)
nums[:] = nums[-k:] + nums[:-k]
Robot
hahahhahhahahhahhahahahhaahh😂😂😂😂😂😂😂😂😂😂😂😂😂
On some website you solve the problem
Facts😂
Fair enough
😅😂🤣
Its the 4th idiot of that movie !
Stealing one of the sexy lines from the movie 3idiot.
Anyway you should face the camera with a smile mr.python❤❤❤❤
💯 😂
❤
😂😂😂😂😂