Thanks a lot 😊 , feels like because of you I will go consistency solving problem everyday.
@AyushiSharmaDSA2 жыл бұрын
Welcome Rohit😄😄🥺
@ChandraShekhar-by3cd2 жыл бұрын
Thanks a lot for the great explanation and consistency!
@AyushiSharmaDSA2 жыл бұрын
Welcome Chandra, glad they are helpful :)
@TalhaTabrez78 ай бұрын
thank you! understood it well, was close to my intuition, but i didn't think about sorting the arrays within and was thinking the other way!
@AyushiSharmaDSA8 ай бұрын
Welcome! 😄 glad it was helpful
@borse2982 Жыл бұрын
Thank you for explaining this problem in easier way..
@AyushiSharmaDSA Жыл бұрын
You are most welcome🤗
@gauravchauhan7195 Жыл бұрын
Great explanation.
@thesaurabh620572 жыл бұрын
due to u,i got more confidence in coding
@AyushiSharmaDSA2 жыл бұрын
Thank you, this means a lot 🤗
@everytimecricket8884 Жыл бұрын
Clearly explained video and explanation
@thegreekgoat98 Жыл бұрын
Very nice explanation! Understood perfactly.
@AyushiSharmaDSA Жыл бұрын
Glad it was helpful!🤗🤗
@SoumyaRanjanSahoo-kq4ez8 ай бұрын
nice explanation... very easy to undertand
@AyushiSharmaDSA8 ай бұрын
Thank you Soumya 😊
@ayushjain3862 жыл бұрын
Thanx, for new approach ,i am doing this question ,merge interval
@AyushiSharmaDSA2 жыл бұрын
Welcome, glad it was helpful :)
@RishabSharma69698 ай бұрын
Thanks didi , great explaination.
@AyushiSharmaDSA8 ай бұрын
Welcome 🤗 glad it was helpful
@shatakshivishnoi916 Жыл бұрын
clear explanation🙌
@AyushiSharmaDSA Жыл бұрын
Glad you think so!🤗
@phaneendhrachinta7295 Жыл бұрын
Very Informative, Thank You
@AyushiSharmaDSA Жыл бұрын
Glad it was helpful!🤗🤗🤩
@SuryaChallagali2 жыл бұрын
daily its a motivation, doing daily challenges with you.
@AyushiSharmaDSA2 жыл бұрын
Great :)
@sundarp75522 жыл бұрын
Clearly explained. Thank you for your video
@AyushiSharmaDSA2 жыл бұрын
Welcome :) glad it was helpful
@smile85102 жыл бұрын
Nice Explanation!
@AyushiSharmaDSA Жыл бұрын
Thanks 😊
@Darshan-p5r5k8 ай бұрын
thank you aisha akka
@shreekrishna34532 жыл бұрын
wow, great explanation
@AyushiSharmaDSA2 жыл бұрын
Thank you, glad it was helpful :)
@siddharthamishra7598 Жыл бұрын
Thanks so much for the video !!!!
@AyushiSharmaDSA Жыл бұрын
You are so welcome!🤗
@jeeldasvani50152 жыл бұрын
grt explanation ayushi as always
@AyushiSharmaDSA2 жыл бұрын
Thank you, glad it was helpful :)
@raj_kundalia Жыл бұрын
thank you!
@desihiphop49982 жыл бұрын
Di consistency ke liye respect++ !!!!!!!!
@AyushiSharmaDSA2 жыл бұрын
🥺🥺🥺 thanks mate
@RohitSaini529452 жыл бұрын
Thanks Ayushi! You are doing great job. Just one feedback - Before going into the actual solution please try to provide a dry run on any test case so that the question will be more clear to us.
@AyushiSharmaDSA2 жыл бұрын
Hi Rohit, thanks sure, will keep in mind :)
@AshwaniKumar-im6zb2 жыл бұрын
Thanks Ayushi. It helps me alot.
@AyushiSharmaDSA2 жыл бұрын
Welcome Ashwani, glad it is helpful :)
@SavitarOP2 жыл бұрын
OP Solution
@AyushiSharmaDSA2 жыл бұрын
Thank you, glad it was helpful :)
@kholiyamails1257 Жыл бұрын
thanks sis aag lgadi dont stop 😅
@AyushiSharmaDSA Жыл бұрын
Thanks yrrr🤩🥹
@sumanshekhar811011 ай бұрын
It took some time to understand the if condition part, nevertheless nice explaination.
@AyushiSharmaDSA10 ай бұрын
thank you :)
@Sejal-Maheshwari-20022 жыл бұрын
Thanks for being consistent !
@AyushiSharmaDSA2 жыл бұрын
Welcome, glad the videos are helpful :)
@Rahulyadav-oh3yp2 жыл бұрын
I feel u solve the imp and problems whose chances of coming in interviews is mots! do u have any list of problems concatinated somehwere so that i solve those? like over some doc?
@jaicev84122 ай бұрын
7 ,12 is also overlapping.. why we cant burst it ?
@pranavkumarparihar13972 жыл бұрын
Thanks di
@AyushiSharmaDSA2 жыл бұрын
Welcome, glad it was helpful :)
@rohit_7002 жыл бұрын
Is this some kind of series', Found your channel on LinkedIn!!
@AyushiSharmaDSA2 жыл бұрын
It's leetcode daily challenge :)
@SoumikGhosh-ef1jn6 ай бұрын
Maam I have tried writing down the solution in java : class Solution { public int findMinArrowShots(int[][] points) { Arrays.sort(points,(a,b)-> a[1]- b[1]); int end=points[0][1]; int arrows=1; for(int i=1;iend) { ++arrows; end =points[i][1]; } } return arrows; } } but just 1 test case is not getting executed : points = [[-2147483646,-2147483645],[2147483646,2147483647]] Output : 1 Expected : 2 Please help me out in rectifying the issue in my code ma'am.
@darshantrivedi53902 жыл бұрын
Hii Ayushi dii, can you tell me How to get intership in good startup off campus ?
@AyushiSharmaDSA2 жыл бұрын
Hi Darshan, keep looking for openings and if opening is there, then check if the job requirements matches your resume. In some startups, they ask DSA and in some they ask related to development or whatever skill they are looking for, so you need to prepare accordingly :)
@darshantrivedi53902 жыл бұрын
@@AyushiSharmaDSA ohk thanks
@puneetkaur30612 жыл бұрын
Didi I wanted to ask you what effect does declaration of comparator inside and outside class have on complexity ?
@ganeshkamath892 жыл бұрын
There is no difference in the complexity
@anshvashisht8519 Жыл бұрын
anyone has java solution with same approach?
@yashchamoli8695 Жыл бұрын
class Solution { public int findMinArrowShots(int[][] points) { Arrays.sort(points,(a,b)->a[1]-b[1]); int arrows=1; int end=points[0][1]; for(int i=1;iend){ end= points[i][1]; arrows++; } } return arrows; } } but dont know why it fails in 1 case [[-2147483646,-2147483645],[2147483646,2147483647]] this one
@jaipurite8119 Жыл бұрын
int findMinArrowShots(vector& points) { int ans=1; sort(points.begin(), points.end()); int xend=points[0][1]; for(int i=1; i points[i][1])?points[i][1]:xend; } } return ans; }
@rishabhbatra30222 жыл бұрын
why we not sort according to start, why with the end?
@AyushiSharmaDSA2 жыл бұрын
That can also be done :) try doing it with a test case
@maddycoder1294 Жыл бұрын
@samlinus836 Жыл бұрын
Nice xplanation sis However if you are workin on java... * [[-2147483646,-2147483645],[2147483646,2147483647]] this testcase might fail if you use Arrays.sort(intervals, (a, b) -> a[0] - b[0]); to sort the array... Now I did a quick analysis on why it doesn't work? You would understand it clearly if you clearly understand the working mechanism of compare(a-b) #Analysis if(a-b) is > 0 means, b comes before a else if (a-b) b)||(a