This guy is damnnn good at explaining..... save him at any cost...
@pretestpassed1572 ай бұрын
Thanks alot.
@aryansrivastava66922 ай бұрын
Lekin bachana kisse hai 😂😂😂
@pr_inv82 ай бұрын
you know man there nothing more impressive than this explanation. Many people are top on lead-boards but they are too sh*t in explanation but look at you. Giving a good explanation like you is way tougher .... you had all my respect!!!
@pretestpassed1572 ай бұрын
Thanks a lot brother.
@shubhambhatt69132 ай бұрын
This guy never leave anyone disappointed
@parasmehndiratta6 күн бұрын
Amazing explanation
@ronakkriplani18382 ай бұрын
Hamesha aise he banate rahiye 🙏🙏🙏
@abhinavkumar63442 ай бұрын
amazing explaination . Thanks
@sumitkesarwani4930Ай бұрын
awesome explanation bro ,
@karansundariya38102 ай бұрын
Really loved your explanation Sir .
@pretestpassed1572 ай бұрын
Thankyou
@gyanikumari49732 ай бұрын
Nice explanation 🎉🎉
@pretestpassed1572 ай бұрын
Thank you 😊
@shashankshekhar5422 ай бұрын
very nice explanations aise hi videos late rahiyo support from U.P. and Bihar
@pretestpassed1572 ай бұрын
Sure, Thankyou
@nanddaclub39722 ай бұрын
Thank you so much ❤
@protyaaay2 ай бұрын
awesome explanation for the problem!
@ROHAN-ux7rr2 ай бұрын
good explnations..continue to do videos like this
@pretestpassed1572 ай бұрын
Sure, Thank you.
@tarunpatel14572 ай бұрын
kya mast samjaya hai bhai🤩💯💯, new concept sikhne ko mila.
@pretestpassed1572 ай бұрын
Thankyou:)
@immrhrr2 ай бұрын
Note: for question b can use unordered map but for c we need ordered map if you are implementing this approach. He has mentioned in his code also.
@aarkojha57102 ай бұрын
Pls continue making videos on leetcode contest problems. There are almost no creators doing the kind of explaination u do!
@pretestpassed1572 ай бұрын
Sure.
@shubhambhatt69132 ай бұрын
Bro, genuinely I felt the need for this logic in so many problems and you explained it so clearly, I am very grateful🙏
@rrrhitk2 ай бұрын
Really good explanation
@raulboy50312 ай бұрын
Superb Explanantion
@pretestpassed1572 ай бұрын
Thankyou
@reactcode91482 ай бұрын
Thanks for the editorial
@pretestpassed1572 ай бұрын
Welcome
@Muralidhar53D2 ай бұрын
Very good explanation ❤❤
@pretestpassed1572 ай бұрын
Thankyou
@GauravDuseja-t6q2 ай бұрын
Best Explanation thanku bhaiya 🙏
@cosmostravelar2 ай бұрын
Good explanation bruh
@pretestpassed1572 ай бұрын
Thankyou
@akshatmehra39512 ай бұрын
Thank you brother
@badamguravareddy57352 ай бұрын
Thanks bro Today i learnt New technique.
@pretestpassed1572 ай бұрын
Welcome:)
@jitpatel11052 ай бұрын
Thank you 😊
@pretestpassed1572 ай бұрын
Welcome:)
@Facts_in_59Sec2 ай бұрын
thank you
@VishalKumar-lk1vf2 ай бұрын
well explained understood in one shot only , i solved 2 problem using binary search but could not solved 3 using the same approach , but after this vedieo and have two methods to solve the third problem. thank you
@rishabhsingh38732 ай бұрын
17:30 pe jo code hai vo work kar raha hai kya?? kyuki agar minRange 0 hai to line no.23 par range[0-1] out of bound hoga
@pretestpassed1572 ай бұрын
No, because maine array ni lea huun map lea hun to map me hm -1 ko access kar sakte h.
@rishabhsingh38732 ай бұрын
@@pretestpassed157 Thank you for clarifying
@Amit-zz1bu2 ай бұрын
Please list some problems related to this concept 😊
@shubhamrai86732 ай бұрын
Bhaiya Please don't stop posting editorials. Bhaiya videos dalte rha karo apke videos se jada samjh ata hai problem🙏
@sudhirhajare94222 ай бұрын
explanation samaj me aya thank you
@pretestpassed1572 ай бұрын
Welcome
@NeverLoose-v5i2 ай бұрын
is there any solid proof why answer(max freq) will exsist in these critical points like nums[i],nums[i]-1 and nums[i]+1.
@varunsaichimata25072 ай бұрын
Bro because of u I solved 2 nd question in todays contest🙌
@manavrawat48772 ай бұрын
pls make more leetcode contest vedio
@LuffySingh-b4h2 ай бұрын
Really nice explanation .....can you please upload pcds for all contests🥺
@pretestpassed1572 ай бұрын
Thankyou. Sure whenever I get time, I will try to upload it.
@Study_With_Sachin2 ай бұрын
aaj ka contest hard tha 🥲
@pretestpassed1572 ай бұрын
Yes, as compared to previous contests it was a little harder.
@SharmaJi0542 ай бұрын
Explain with Binary Search Approch
@shwetaj81892 ай бұрын
Can we use fixed sliding window here because size of the subarray is fixed from -k to k.
@Code_Note2 ай бұрын
isko Line segments se bhi better visualize karwa sakta ho and woh point lo jo maximum no of segments mai common h.
@malvado82672 ай бұрын
In second question , why we iterated only on critical points??Doesn't this affect the answer??
@Baishakh-lj1nj2 ай бұрын
codeforces ka video aega?
@pretestpassed1572 ай бұрын
Aaj me CF ni de paya, islea ni daal paunga.
@Baishakh-lj1nj2 ай бұрын
@pretestpassed157 vai apnka describe bohot accah he. Take love from Bangladesh. Can you upsolve and please make a video atleast B and C
@pretestpassed1572 ай бұрын
Thanks alot. Sure agr mujhe time milta h to try karunga.
@Baishakh-lj1nj2 ай бұрын
@@pretestpassed157 ok..vai
@TrafalgarLaw-u5b2 ай бұрын
If we use map instead of unordered map for ranges will it affect the ans?
Sorry, currently I am traveling so will not be able to upload it.
@amarindergill23312 ай бұрын
Hi bro, i need ur advice abt solving the question in contest, i m not able to solve the question more than one in contest and i m learning dsa more than six months,, i m in very much confusion,what should i do to improve please tell me....
@pretestpassed1572 ай бұрын
Ye sabhi k sath hota h ki start me bhut practice Karo but fir v contest me problem ni bnta. But I will suggest ki practice mat choro and contest k baad try karo un sabhi problem ko upsolve karne ka jo tmse ni bnaa and ye pata karo ki tum solution ke kitne nazdik thee during the contest. Bs khud ko analysis karo ki tmhara kya weak point h because tm khud aapne aap ko aache se smjh sakte ho. Finally practice karte rho and contest upsolve karo result khud pr khud aane lagega.
@GauravDuseja-t6q2 ай бұрын
Bhaiya i was thinking 2 problem by binary search lo=mid+1-->if diff(maxElement-curr/(r-mid))>diff(curr-minEle)/(mid-l) else hi=mid-1 but not able to pass all test cases
@shashanktiwari69992 ай бұрын
was today's contest hard from your pov?
@pretestpassed1572 ай бұрын
Yes, as compared to other previous contests it was a little hard.
@AbhishekKumar-vd1po2 ай бұрын
Hi bro, I have been doing LC for 6 months and have solved many questions, but I can't seem to figure out this approach. How can I master this approach in a short time, and how long have you been solving LC?
@pretestpassed1572 ай бұрын
I am just giving contests, and sometimes to practice some famous DSA problems on Leetcode. Because generally I use codeforces and Cses problems set to practice problems.
@ambikeshsingh22892 ай бұрын
Bhaiya codechef ke editorial boht din se nahi aa rhe ,ab nahi bnaoge kya,used to be very helpful
@pretestpassed1572 ай бұрын
Abse try karunga wo v bnane ka.
@sayanmondal59732 ай бұрын
Can you send similar questions based on this concept, or tell me what can I search to practise similar such questions ? Great video, I thought of using Binary Search but couldn't come up with anything Thanks !
@amardeep77142 ай бұрын
bhai tum beech beech m gaayeb kaha ho jaate ho ? atleast hard ques explain krdia kro baaki k contests ka bhi
@pretestpassed1572 ай бұрын
Me jab v free rhta to video daal deta huun. Or jis din ni daal paya to it means ki kuch important kaam aa gya ho ( jaise travelling kar rha ya office work me fassa huun) islea ni daal pata, warna mera hamesa sabse jyada priority rhta ki editorial aapne channel me dalne ka.