Merge Sort | Code and Explanation | C++ Course - 19.1

  Рет қаралды 471,929

Apna College

Apna College

Күн бұрын

Complete C++ Placement Course (Data Structures+Algorithm) : • C++ Full Course | C++...
Telegram: t.me/apnikaksh...
Instagram: / dhattarwalaman
Notes of this Lecture:drive.google.c...

Пікірлер: 416
@sohebshaikh3344
@sohebshaikh3344 3 жыл бұрын
accha explanation tha bs thoda code dry run kr k batate tho zyada accha hota
@akshaykumar192
@akshaykumar192 Жыл бұрын
Kahe ka acha kuch samaj ni aata 😢
@achabacha3809
@achabacha3809 Жыл бұрын
​@@akshaykumar192 😅😅😅😅
@eros4082
@eros4082 2 жыл бұрын
Code is giving undesired output if array elements are other than descending order. I have checked many testcases.
@vindhyakumar3434
@vindhyakumar3434 Жыл бұрын
bro after seeing your comment i realised the same mistake i made , maybe in int main you forgot to put mergesort(arr,0,length-1) and instead wrote mergesort(arr,0,length)
@prabhatjha2522
@prabhatjha2522 Ай бұрын
@@vindhyakumar3434 then also It didn't work
@tywarinabin
@tywarinabin 2 жыл бұрын
It is difficult topic but this lecture of 15 minutes make it easier and make program just in 10 minutes. Thanks Apna College Team and Aman bhaiya.
@turbo4free631
@turbo4free631 2 жыл бұрын
is this course for beginner.....
@amritpoudel6929
@amritpoudel6929 Жыл бұрын
@@turbo4free631 NO BIG NO
@mrpandey7312
@mrpandey7312 2 жыл бұрын
thanks to all who created this free of cost course
@nithinshukla4679
@nithinshukla4679 3 жыл бұрын
fr i couldnt understand anything after didi stopped teaching😂🤣🤣🤣
@pritishpattnaik4674
@pritishpattnaik4674 3 жыл бұрын
instead of using 2 more while loops in merge( ) , u can simply just change the && with || , so..we do not need those extra while loops.
@sourabhchoudhary7289
@sourabhchoudhary7289 3 жыл бұрын
I also thought so does it worked??
@amanns7080
@amanns7080 3 жыл бұрын
No it won't work, might give a segmentation fault/ wrong answer as you are accessing element of an array outside its bounds. Suppose, i has reached n1 but j hasn't reached n2, by replacing "and" with "or" in while loop, you would still enter the loop, but this time you would be checking a[n1] with b[j], a[n1] might contain garbage value. Same case if j reaches n2 first, b[n2] contains garbage value. Hope this clears your doubt.
@shreyasingh4680
@shreyasingh4680 2 жыл бұрын
no we can't do that because we would have 0 element in either array so we can't compare
@code-a-mania4100
@code-a-mania4100 2 жыл бұрын
For Time comple. We get fractional part and n so it is simple it is logn*n
@technicalknowledge9080
@technicalknowledge9080 3 жыл бұрын
Bhaiya this code is working correctly only for the input (5,4,3,2,1) while we are changing this input then this code is not giving the correct output so please look into this matter. and please highlight this comment so that bhaiya can read this comment Thank you
@rishankbhatnagar6560
@rishankbhatnagar6560 3 жыл бұрын
mera bhi output nahi aa raha hai
@divyangbhamat1228
@divyangbhamat1228 3 жыл бұрын
Yes same problem anyone found solution so please help
@sohammukherjee_2193
@sohammukherjee_2193 3 жыл бұрын
Bro which part sorts the arrays of size n1 and n2???
@irshadali-xx1ms
@irshadali-xx1ms 3 жыл бұрын
#include #include using namespace std; void merge(int arr[],int l,int mid,int r) { int n1=mid-l+1; int n2=r-mid; int a[n1]; int b[n2]; for (int i = 0; i < n1; i++){ a[i]=arr[l+i]; } for ( int i = 0; i < n2; i++){ b[i]=arr[mid+1+i]; } int i=0; int j=0; int k=l; while (i
@technicalknowledge9080
@technicalknowledge9080 3 жыл бұрын
@@irshadali-xx1ms thank you bhai 😀😀
@vaibhav7453
@vaibhav7453 4 ай бұрын
Take input from user
@shaktirajsinhzala4588
@shaktirajsinhzala4588 3 жыл бұрын
merge is done with only one extra array. it is not necessary to take 2 extra arrays and then merge.
@nikunjjain2382
@nikunjjain2382 3 жыл бұрын
Yes ,by using two pointer
@sourabhchoudhary7289
@sourabhchoudhary7289 3 жыл бұрын
we are using two arrays of size n1 and n2 that is n1+n2=n. so basically we are using O(n) extra space that is equal to one array of size n.
@MohammadKhan-ld1xt
@MohammadKhan-ld1xt 3 жыл бұрын
how?
@yashvats824
@yashvats824 2 жыл бұрын
@@MohammadKhan-ld1xt #include using namespace std; void merge(int a[],int s,int m,int e) { int temp[e-s+1]; int p1=s; int p2=m+1; for (int i=0;im) { temp[i]=a[p2]; p2++; } else if (p2>e) { temp[i]=a[p1]; p1++; } else if (a[p1]>n; int arr[n]; for (int i=0;i>arr[i]; merge_sort(arr,0,n-1); for (int i=0;i
@sjr2001
@sjr2001 3 жыл бұрын
In the int main func when we write mergesort func then copy of arr should be sent . Then how does the sorted array got print by for loop not original array ???
@govindjangra600
@govindjangra600 2 жыл бұрын
can anyone tell the problem that i faced in running the same code in the video my output is 5 2 5 5 5
@sleepypanda7172
@sleepypanda7172 2 жыл бұрын
her voice!!! too sweet! Great explanation!
@sakshidurve1211
@sakshidurve1211 3 жыл бұрын
merge function is not only to to merge 2 arrays, its is also to sort and merge
@sohammukherjee_2193
@sohammukherjee_2193 3 жыл бұрын
But in which portion is the sorting occuring???
@cswd428-yaswanth3
@cswd428-yaswanth3 3 жыл бұрын
@@sohammukherjee_2193 in the merge fn
@UIEC_MANESH_RAM-tb1hb
@UIEC_MANESH_RAM-tb1hb 2 жыл бұрын
your absolutely right and maybe didi missed it
@AmanKumar-nb4oh
@AmanKumar-nb4oh 2 жыл бұрын
Yeah u can say like that while merging we sort them first
@rohitsaini7427
@rohitsaini7427 2 жыл бұрын
Isn't the L pointer going to be zero and in what case it will be non zero?
@aswinbarath
@aswinbarath 3 жыл бұрын
🔥🔥🔥Verithanam🔥🔥🔥
@anantsinghal3180
@anantsinghal3180 3 жыл бұрын
Please upload web development course...🙏🏻🙏🏻
@nikunjjain5212
@nikunjjain5212 3 жыл бұрын
@Nikunj Manhas thanks Nikunj 😂
@zackcarl7861
@zackcarl7861 2 жыл бұрын
What does( mid-l+1 ) mean how can I substrate l from mid
@himanshuwarkade4318
@himanshuwarkade4318 2 жыл бұрын
As l always starts from 0. Suppose the value of Mid is 3 so "3-0+1" is equal to 4 which should be the size of first part of the array.
@AG-kw1rb
@AG-kw1rb 3 жыл бұрын
Bhaiya Please upload the NOTES OF LECTURE 31 - Strings in c++
@aadityasharma6855
@aadityasharma6855 3 жыл бұрын
Its 13
@AG-kw1rb
@AG-kw1rb 3 жыл бұрын
@@aadityasharma6855 Its Lecture 31
@AG-kw1rb
@AG-kw1rb 3 жыл бұрын
@@saimadhumita2144 yeah
@AG-kw1rb
@AG-kw1rb 3 жыл бұрын
Thank you Aman Bhaiya and Apna College team as now the Notes of Stings in C++ are uploaded
@cmcatholic1798
@cmcatholic1798 3 жыл бұрын
Mergesort() function seems bit odd for me, since there is no returning statement🤔. I think it should return 0 at end
@zubinshah4589
@zubinshah4589 3 жыл бұрын
its a void function bro
@praveenawesome2182
@praveenawesome2182 3 жыл бұрын
well yes but actually no !! Firstly mergesort is a void function so it should not return anything but let's say if it wasn't a void function and something happened in the function but it doesn't return anything,in that case, no one knows for sure what will happen. The program may or may not run i.e it can result in a crash so to avoid that situation we always have return statements even after giving a return in a conditional statement inside a function.
@praveenawesome2182
@praveenawesome2182 3 жыл бұрын
ps: I am not sure if the above claim made by me is totally correct and maybe there is good logic behind it, suggestions will be appreciated.
@gauravupreti9340
@gauravupreti9340 3 жыл бұрын
there are two ways in which a function frame can be destroyed, either if return statement is encountered or if nothing is left in function. Try to think with a stack diagram. Hope it will help.
@harshdeep7312
@harshdeep7312 3 жыл бұрын
@@praveenawesome2182 definitely u r correct i encounter many time no output wthout return statement bt after return statement program gives correct output
@AbdUllah-m2j3j
@AbdUllah-m2j3j 7 ай бұрын
Only one of you can teach me correctly so proud you
@shubhamkale735
@shubhamkale735 3 жыл бұрын
Documentation of our program is very important thing because it reminds us the logic behind program make sure everyone will write reason after each code using commenting
@joebale9670
@joebale9670 2 жыл бұрын
ji sir jaisa aap kahen😶
@AmanTheDisciple
@AmanTheDisciple 2 жыл бұрын
Awesome video, thanks for the easy explanation! :)
@maheriyajatinbharatbhai3538
@maheriyajatinbharatbhai3538 3 жыл бұрын
thanks for this amazing playlist!
@vatsalpoddar6660
@vatsalpoddar6660 2 жыл бұрын
In the Merge function, why did we initialize k with L and not 0
@artirani3806
@artirani3806 3 жыл бұрын
It's special for me because it is on Apna College Video.....first time ever😇1 comment, 1st like😄
@ankurmishra1175
@ankurmishra1175 3 жыл бұрын
kzbin.info/www/bejne/aJyaoYZvrLyDiqs
@RudranshSharma
@RudranshSharma 3 жыл бұрын
Backtracking ke baad toh kuch samajh nhi aa raha!! What to do?? Ek baar poora course dekhlu aur uske baad phirse dekh lunga..... Yaa fir abhi poora concept clear karte huye chalu?
@strokeadda01
@strokeadda01 3 жыл бұрын
Bhai clear krta chal abhi se wrna pura dekhne tkk itna frustrate ho jaega ki kr nhi paega🤐
@felizmonk5383
@felizmonk5383 2 жыл бұрын
Don't we have to take dynamic temp array in merge function. Why didn't you get errors?
@VishalGupta-oh7mb
@VishalGupta-oh7mb Жыл бұрын
space complexity ne allow kr dia On ko isl;ie
@lakshtrivedi004
@lakshtrivedi004 3 жыл бұрын
Can we get backtracking part 2?
@ishitabisaria6437
@ishitabisaria6437 3 жыл бұрын
Sir notes of this lecture??
@rexstark5319
@rexstark5319 3 жыл бұрын
Why do u not get errors, even if u declare size of arrays as variables at runtime
@paramrajsinghchadha1957
@paramrajsinghchadha1957 3 жыл бұрын
varies from compiler to compiler
@dibyarupnath
@dibyarupnath 2 жыл бұрын
you need to declare and take input the variable, which you use as the size of the array, while declaring the array.
@rishabarya1379
@rishabarya1379 2 жыл бұрын
THEY SKIP TO THE PART WHEN CODE IS RIGHT YOU CAN SEE IT FOR YOURSELF EXAMPLE THE VEDI THEY TYPE "mergeSort(arr,0,4);" BUT AFTER EXECUTION WHEN YOU CAREFULLY LOOK IT IS SUPPOSED TO BE " mergeSort(arr,0,5);"
@sajankumarkar8237
@sajankumarkar8237 3 жыл бұрын
Just another way to merge. We can take a single array of size n instead of 2 of n1 and n2. What we do is we divide the original array by marking them with the pointers i,j(not the * pointers xD). We merge and store them in the temp array and at the end we store the values in the original array. void merge1(int a[], int l, int mid, int h)// low, mid, high { int i=l, j=mid+1, k=0, n=h-l+1; int temp[n]; while(i
@adityagupta3870
@adityagupta3870 3 жыл бұрын
brother....can you explain me why the size of " n1=mid-l+1" array is taken? and in your problem also n=h-l+1?..please help I am confused
@sajankumarkar8237
@sajankumarkar8237 3 жыл бұрын
​@@adityagupta3870 ok let's say the array we take has size 10. While calling the function the value passed to low is 0 and the value passed to high is n-1(cuz if size 10 means from 0 to 9), i.e. 9 in this case. Now in the function, n denotes the size of our array(specifically size of the part of the array corresponding to the merge but here i will explain for the entire array cuz its easier to understand that way). So n needs to be 10. now low=0 and high=9, so high-low=9-0=9. So we add 1. High-low+1=9-0+1=10.
@adityagupta3870
@adityagupta3870 3 жыл бұрын
@@sajankumarkar8237 damn bro!!!.. Thanks!!!... Can I have your id or something ... So that we can start with dsa together?
@samridhisaini6147
@samridhisaini6147 2 жыл бұрын
explanation is just so clear
@derekflix
@derekflix 3 жыл бұрын
Kyo karna hai merge sort jab hum pehle hi Selection Sort, Bubble Sort aur Insertion Sort padh chuke hai ????
@mansoorahmad5774
@mansoorahmad5774 3 жыл бұрын
Due to time Complexity. Most efficient sorting technique as compared to others.
@vinayakjalan5696
@vinayakjalan5696 3 жыл бұрын
Didi iss lecture ke notes add kardo description box main .. Woh blank reh gaya hh
@faizansaqeeb3390
@faizansaqeeb3390 3 жыл бұрын
Amazing👍😍🤩
@gourav7921
@gourav7921 3 жыл бұрын
Int n1 = mid - l + 1 Didi ne 8:24 par (mid - l )mein 1 kyo plus Kiya hai agar kisi Ko iska reason pta hai toh pls jrur btana
@virendraverma5855
@virendraverma5855 9 ай бұрын
Function Mergesort how it working samajh nahi aaya
@imranimmu4714
@imranimmu4714 3 жыл бұрын
expecting better explanation for time complexity
@SobhitPanda
@SobhitPanda 3 жыл бұрын
Sir, time complexity nahi samjh aai? Please elaborate, the procedure. Or please suggest some materials to practice from.
@sachinbairi6353
@sachinbairi6353 3 жыл бұрын
Are voh keh raha hai ki humne pehele n length ki array ko divide kiya half mai toh hum abb left array ko sort karne ko humko t(n/2)time lagega some for the right half of that array jab hum dono side ko plus karenge tab yee ayega -->>> i.e. t(n) = t(n/2)+t(n/2) = 2t(n/2) but hum divide karne ke baad merge bhi kar rahe hai toh usko humko merge karne ko linear time lagega i.e 'n' toh final recurrence relartion atta hai ki t(n) = 2 t(n/2) + n ...eq1 yee aaya hai for the first split jo humne kiya n ko n/2 mai but hum mergeSort mai we divide the input list of length n in half successively until there are n lists of size 1. so, if humko left or right half of the array ke liye recurrence relation chahiye toh follow same procedure but iss baar n half hai. replace n by n/2 in the eq 1
@hrithikjaysingpure9623
@hrithikjaysingpure9623 3 жыл бұрын
@@sachinbairi6353 thnx bro
@shamshuddinshaikh4774
@shamshuddinshaikh4774 3 жыл бұрын
@@sachinbairi6353 tumne toh bade acche se samjhaya bro
@prafulraghorte6189
@prafulraghorte6189 2 жыл бұрын
I have copied same code word by word but My code isn't running 😒
@aaravchaprana3381
@aaravchaprana3381 2 ай бұрын
same here bro wont know what the problem is
@sagarjain4128
@sagarjain4128 2 жыл бұрын
in void merge(int arr[ ], int l, int mid, int r). You said in arr[ ] we are getting to small size SORTED array. 1st array from l to mid. And 2nd array from mid+1 to r. And you said now we will make two temporary arrays. then merge them. KINDLY SOMEONE HELP 🙏🙏🙏🙏 But in the starting how this arr[ ] got SORTED small size arrays??
@abhishakekumar3243
@abhishakekumar3243 2 жыл бұрын
we are using recursion here, merge() function will be called number of times for every separation after mergeSort() function, not only once. And two temporary arrays because we can't traverse and make changes in the same array at the same time.
@lifeatovarun
@lifeatovarun 2 жыл бұрын
output is coming wrong what's the problem behind it. #include using namespace std; void merger(int a[],int l,int r ,int mid){ int n1=mid-l+1; int n2=r-mid; int b[n1]; int c[n2]; for(int i=0;i
@animegod5295
@animegod5295 3 жыл бұрын
why is it showing expression must have a constant value while declaring temp array? pls help somebody
@Special_moment_
@Special_moment_ Жыл бұрын
very good explanation . I really enjoyed.
@rohandhale9766
@rohandhale9766 Жыл бұрын
Best explaination Of Logic And TimeComplexity
@pankaj.yadav1
@pankaj.yadav1 3 жыл бұрын
Ma'am bhut axa smjhati h
@ManmohanBhardwaj-ft2hu
@ManmohanBhardwaj-ft2hu 11 ай бұрын
Program is not working it show error in running in online gdb c++ compiler
@krishnaanasurya3549
@krishnaanasurya3549 Жыл бұрын
Thx for Desi explanation , Ghusenge ghusenge...
@goravkumar125
@goravkumar125 2 жыл бұрын
Ma'am mergeSort sahe work nhe kar rahr hy mana bhut bhar check kiya hy liken program main kohe error nhe hy liken arr ko sorrt nhe kar raha hy
@DALJEET20
@DALJEET20 Жыл бұрын
i have copied same code but my array is not sorting please help
@developer0707
@developer0707 2 жыл бұрын
getting output only when I give input as same you have given but whenever I change my input array sequence or give a sorted array as input code is not working
@harshitnema4197
@harshitnema4197 3 жыл бұрын
For those who are having doubt in line of code where: n1 = mid-l+1; see initially we have given l = 0, r = 7 in the array of length 8. then we will get mid = (l+r)/2 as (7+0)/2 = 3; so n1 = mid - l +1; will be 3 - 0 + 1 = 4;
@harshitnemaa
@harshitnemaa 3 жыл бұрын
If you guys have any doubt you can reply to this comment.
@shubhammahakal1817
@shubhammahakal1817 2 жыл бұрын
Here, mid is pointer and n1 is length from 0 to 3 (0,1,2,3)
@hemant-li1gp
@hemant-li1gp Жыл бұрын
in mergeSort function we pass arr of main function by value, then how did this changed the array in main function
@ashishbohare8864
@ashishbohare8864 2 жыл бұрын
Love u didi 😘 bdiya pdhaya
@nothing-ce6rs
@nothing-ce6rs 3 жыл бұрын
Mam u r keep saying pointer.. Is that pointer or index? Bcz pointer should have Asterix(*) sign
@harshitrathi3077
@harshitrathi3077 3 жыл бұрын
Aree Bro Pointer Doesn't Only Means That U have To Take a * Sign , Pointer also Means To Pointing something
@nothing-ce6rs
@nothing-ce6rs 3 жыл бұрын
@@harshitrathi3077 acha
@digvijaypatil2147
@digvijaypatil2147 Жыл бұрын
the array was not dynamic then how it got sorted in main function? plz someone explain
@khuramkhalid5396
@khuramkhalid5396 9 ай бұрын
THANK YOU SO MUCH!!
@PulkitMalhotra
@PulkitMalhotra 3 жыл бұрын
1no. Content 🔥
@ansariafreen9594
@ansariafreen9594 3 жыл бұрын
will merge sort work for odd no. elment in an array?
@Emc-nt7lo
@Emc-nt7lo 3 жыл бұрын
Yes
@sanyampandita5488
@sanyampandita5488 2 жыл бұрын
CAN ANYONE PLEASE EXPLAIN WHAT IS THE ERROR IN THIS CODE: #include using namespace std; void merge(int arr[],int l,int mid,int r){ int n1= mid-l+1; int n2= r-mid; //temp arrays int a[n1]; int b[n2]; //array ke elements ko 2 temp arrays mein bhar rhe hai for (int i = 0; i < n1; i++) { a[i]=arr[l+i]; } for (int i = 0; i < n2; i++) { a[i]=arr[mid+1+i]; } //checing when putting the values backing in the k array int i=0; int j=0; int k=l; while(i
@ritulmittal2651
@ritulmittal2651 2 жыл бұрын
In merge function the second for loop should be b[i]=arr[mid+1+i] instead of a[i]
@anuragtyagi1111
@anuragtyagi1111 3 жыл бұрын
When God come to help poor students ❤️
@jePastapuramNagashwini
@jePastapuramNagashwini Жыл бұрын
in the next while loop, i replaced the while loop with for loop and it was not showing correct results but I don't understand y
@mallikarjunpidaparthi
@mallikarjunpidaparthi 3 жыл бұрын
Excellent and clear explanation. Thank you.
@alpha183_i
@alpha183_i 7 ай бұрын
Thank you mam
@hemanthreddy2485
@hemanthreddy2485 3 жыл бұрын
like bubble sort
@nishantchandel7367
@nishantchandel7367 3 жыл бұрын
how merge function return value as it above declared with void data type
@snehagoyal3738
@snehagoyal3738 3 жыл бұрын
In case of array , whatever changes are made in the array are inflicted in the original array itself that is arr[], we need not return anything. Changes are made in the original array only.
@coder9009
@coder9009 3 жыл бұрын
Thanks a lot for this video
@anaskaratela7171
@anaskaratela7171 3 жыл бұрын
any better approach than this while using functions in recursive way??
@deepjyotikoley8499
@deepjyotikoley8499 3 жыл бұрын
for better time complexity use quick sort
@unknown__8874
@unknown__8874 2 жыл бұрын
I got the code, but why did she use 'l' and 'r' ??
@darshantrivedi5390
@darshantrivedi5390 3 жыл бұрын
Thanks 🔥☺️
@csminor7456
@csminor7456 3 жыл бұрын
Can you please add Theory as well in the notes provided in the desciption
@tarungupta5496
@tarungupta5496 3 жыл бұрын
No
@search_Adam_seeker
@search_Adam_seeker 2 жыл бұрын
No
@hazard30us76
@hazard30us76 2 жыл бұрын
ye th even number of elements pe kaam ni kr rha hai...
@abhishekhkumar11
@abhishekhkumar11 3 жыл бұрын
I didn't understand the time complexity part
@zackcarl7861
@zackcarl7861 2 жыл бұрын
Why is the size of temporary array (mid-L+1)
@VishalGupta-oh7mb
@VishalGupta-oh7mb Жыл бұрын
0th to midth...inclusive
@jyothishkamal8255
@jyothishkamal8255 3 жыл бұрын
Suggestion: please use comments to explain what the variables are
@thetypicalone2525
@thetypicalone2525 2 жыл бұрын
Sorry ur eplanation was right ,😙😙😙😙😙😅😅😅👍👍👍👌I was doing in the wrong way
@sagarjain4128
@sagarjain4128 2 жыл бұрын
output blank aaraha hai. Can anyone help please
@harshsharma4670
@harshsharma4670 11 ай бұрын
I am having segmentation fault while running this code can anyone help??
@kartikey14
@kartikey14 3 жыл бұрын
aced it...!!❤
@surajalwayslight5707
@surajalwayslight5707 3 жыл бұрын
Bhaiya yeh code mere system main toh kuch aur hin result de raha aise kaise
@revanthmahindra
@revanthmahindra 3 жыл бұрын
NOTES PLEASE
@mancunianswagger3668
@mancunianswagger3668 3 жыл бұрын
It is important for us not gonna lie but this is hard. If it wasn't this important most of us would've skipped this right???
@piyush5255
@piyush5255 2 жыл бұрын
my time complexity is coming out O(n log(2n))
@myhp8300
@myhp8300 2 жыл бұрын
Why initializing k as 0 not giving the right answer? Help please
@magicmartens11
@magicmartens11 2 жыл бұрын
Because k is the iterator for arr[] array which starts from l and end at r.
@jayashreeam7996
@jayashreeam7996 3 жыл бұрын
I aam getting error for above code int[ int ] isbnot possible for array subscript for line a[ i ] = are[ l+i] please solve my ddoubt I am having my placement exam
@d3vev
@d3vev 3 жыл бұрын
14:00
@lifeatovarun
@lifeatovarun 2 жыл бұрын
I will like apna college only when it will rectify the isssue.
@prafulraghorte6189
@prafulraghorte6189 2 жыл бұрын
I have copied same code , but it's not running, frustrated af 😑
@vibhashkumar5554
@vibhashkumar5554 3 жыл бұрын
Only legends know video length is 17:10 ,before the video premiere
@niladriroy1665
@niladriroy1665 3 жыл бұрын
Kaise bata rha hai bhai tu?
@mohammadejaz540
@mohammadejaz540 3 жыл бұрын
Kaise?
@II_xD_II
@II_xD_II 3 жыл бұрын
define "legend"
@neerajkrishnan8574
@neerajkrishnan8574 3 жыл бұрын
@@II_xD_II map ke icons ko identify krne waaala chart lol
@ishankbansal9239
@ishankbansal9239 3 жыл бұрын
diii we can do it with only one array toooo
@movieshub4922
@movieshub4922 3 жыл бұрын
Sound problem.. Beech beech mae volume km hoo jaati hai
@user-ld3ny2yp2y
@user-ld3ny2yp2y 2 жыл бұрын
Please put hindi in the description or smtn, I got really confused by the intro lmao
@purnimamishra3819
@purnimamishra3819 2 жыл бұрын
Please help me to make the lecture on the topic of computer organization and architecture 🙏🏻
@dhairyashah5886
@dhairyashah5886 3 жыл бұрын
classic video!!!!!
@alisaquibraza6870
@alisaquibraza6870 2 жыл бұрын
why is there no base case for recursion?
@mayurcm271
@mayurcm271 Жыл бұрын
The code is not proper it is giving wrong output
@yogendrarajput5929
@yogendrarajput5929 2 жыл бұрын
Test Cases Not included-- Code is Below---> void merge(int input[], int low, int mid, int high){ int b[high-low+1]; int l1=low,l2=mid+1,i=0; while(l1
@onimthestrongest6229
@onimthestrongest6229 9 ай бұрын
Nice
@mdminhaj8567
@mdminhaj8567 3 жыл бұрын
Thank you so much sister for your informative speech.
Quick Sort | Code and Explanation | C++ Course - 19.2
15:24
Apna College
Рет қаралды 387 М.
Lecture35: Merge Sort using Recursion | Day-5 | 10 Day Recursion Challenge
24:23
HAH Chaos in the Bathroom 🚽✨ Smart Tools for the Throne 😜
00:49
123 GO! Kevin
Рет қаралды 15 МЛН
The joker favorite#joker  #shorts
00:15
Untitled Joker
Рет қаралды 30 МЛН
Learn Merge Sort in 13 minutes 🔪
13:45
Bro Code
Рет қаралды 302 М.
Merge sort algorithm
18:20
mycodeschool
Рет қаралды 2,2 МЛН
IIT-JEE Toppers: Where Are They Now?
16:07
Mohak Mangal
Рет қаралды 1,1 МЛН
Merge Sort | For Beginners | Java Placement Course
21:25
Apna College
Рет қаралды 674 М.
8 patterns to solve 80% Leetcode problems
7:30
Sahil & Sarra
Рет қаралды 372 М.
My Brain after 569 Leetcode Problems
7:50
NeetCode
Рет қаралды 2,6 МЛН
Quick Sort For Beginners | Strivers A2Z DSA Course
35:17
take U forward
Рет қаралды 401 М.
HAH Chaos in the Bathroom 🚽✨ Smart Tools for the Throne 😜
00:49
123 GO! Kevin
Рет қаралды 15 МЛН