Lecture 59: Merge Sort Algorithm

  Рет қаралды 31,682

Coder Army

Coder Army

Күн бұрын

Пікірлер
@CoderArmy9
@CoderArmy9 Жыл бұрын
Merge Sort Algorithm ko Achee se chamka do, Baaki Code meine Homework sheet mein hi provide kar rkha hai, extra questions bhi hai usmein, isly unko bhi kar lena...
@Ravi-wn4pe
@Ravi-wn4pe Жыл бұрын
Thank you bhaiya for depth of my heart, Merge Sort pehle bhi pada tha but Chamaka aaj. All because of you...❤. All Problems that I solve today at GFG and Leetcode is because of you. I am very lazy but apke karan regular hu since starting. Keep Going and Providing us such awesome lecture . Thanks once again bhaiya.
@akashkewat1219
@akashkewat1219 Жыл бұрын
Haa bhaiya needed a revision. 😊
@shrishtdev9961
@shrishtdev9961 Жыл бұрын
nice bro aap kuch na kuch yna hi btate hai hr video
@kanhamallik33
@kanhamallik33 Жыл бұрын
Sir aye class pe c++ clear hojae Kiya plz sir batado
@Mishra_ritesh
@Mishra_ritesh 8 ай бұрын
Bhaiya bahut lamba code hai... Kahi chamk rha hai kahi nhi bhi...par pura class le liya 😢
@anupammishra6514
@anupammishra6514 11 ай бұрын
Bhaiya aaj sara concept samjh aa gya h chamak gya pura 😌😌❤❤❤ you are the best bhaiya ❤❤
@universalmeditationmusic9299
@universalmeditationmusic9299 Жыл бұрын
mergesort ka concept chamka gay our bhute achhe se samjh me gaya best explain
@5harshitshrivastava
@5harshitshrivastava 8 ай бұрын
day 59 ☑ merge sort understood💯
@manishsati-wv8xz
@manishsati-wv8xz 11 ай бұрын
Bhaiya jab aap padate ho, sach mein sab easy lagta hai, thanku
@zafrul_islam
@zafrul_islam Жыл бұрын
mja aa gya bhaiya ekdam chamak gya college me bhi mai merge short padha tha and mujhe bhut dar lg rhi thi merge short se but aap to smoothly samja diye wo bhi bhut aache se🙂🙂
@asad_iliyas
@asad_iliyas 11 ай бұрын
1:18:00 H/W ✅ #include #include using namespace std; void merge(int arr[],int start,int mid,int end)//This funtion will merge and sort { vectortemp(end-start+1); int left=start,right=mid+1,index=0; while(left
@vishalashnani.3733
@vishalashnani.3733 3 ай бұрын
mazaa aa gya bhaiya kafi der se phasa hua tha samajh hi nahi aa rha tha concept pr aapki video dekh kar everything is crystal clear...✌✌
@PranayBanait-n3j
@PranayBanait-n3j 29 күн бұрын
chamak chuka hai bhaiya pura concept
@itshirdeshk
@itshirdeshk Жыл бұрын
Day 82 🔥✅ Bhaiya chamak gya sab kuch acche se ✨
@sheetalsharma1675
@sheetalsharma1675 5 ай бұрын
you cleared all logic and conspect this question.....
@SiyaRamSiyaRam1008
@SiyaRamSiyaRam1008 9 ай бұрын
Bhaiya chamak Gaya bahut dhanyavad aapka mjhe laga nhi tha samjh pauga lekin bhaiya you are great 🙏
@thepuncher8387
@thepuncher8387 4 ай бұрын
wow....really cleared all the concept
@pratapkumar7249
@pratapkumar7249 9 ай бұрын
chamak gaya bhiya badiya se
@tripurarisen4362
@tripurarisen4362 5 ай бұрын
Chamak gaya sir ji..thank you sir for making boring DSA interesting
@RJFF3-r7w
@RJFF3-r7w 4 ай бұрын
Maja aa gaya bhaiya, ek dum chamk gata
@Vikash_chauhan_vkc
@Vikash_chauhan_vkc 3 ай бұрын
Me to socked hu dsa k itna acha content youtube me bhi aa sakta hai aisa to nahi paid me milne wala aur ni bhaiya aur didi log se ❤❤ thnks bhaiya for this amazing dsa
@RahulGupta-wv7lv
@RahulGupta-wv7lv 10 ай бұрын
merge sort chamak gaya sir ji
@AnshuGupta-xw8ly
@AnshuGupta-xw8ly 6 ай бұрын
you made this algorithm to easy , love your way of explanation 🙂
@MohitKumar-b5o3b
@MohitKumar-b5o3b Ай бұрын
good explanation sir
@joydeep-halder
@joydeep-halder Жыл бұрын
HW: Descending order ✅✅ if(nums[left]>=nums[right]) // only this line will change
@Forpcuse-ke2fl
@Forpcuse-ke2fl 7 ай бұрын
Dhanyawaad sir.. you have explained it very easily😀
@priyanshuarya6317
@priyanshuarya6317 22 күн бұрын
Chamak gaya merge sort❤
@priyanshusonii
@priyanshusonii 10 ай бұрын
Amazing Explanation
@omkadam2986
@omkadam2986 5 ай бұрын
Bhaiya chamak gaya 👍
@CR-ns2xs
@CR-ns2xs 4 ай бұрын
Amazing content bhaiya..love from pauri garhwal ❤
@Ujjwalkumarsavita
@Ujjwalkumarsavita 8 ай бұрын
chamak chuka hai pura concept 👍 bhaiya😊
@narutouzumaki-kc6cj
@narutouzumaki-kc6cj 2 ай бұрын
thanks bhaiya for this amazing lecture ❤❤
@heetpatel3037
@heetpatel3037 8 ай бұрын
Chamka bhaiya chamka 👍🏻 Rohit Bhai op
@Manav00121
@Manav00121 10 ай бұрын
maza aa gaya bhaiya thodi tought ahi but its ok we undersand
@vipulkumar1830
@vipulkumar1830 10 ай бұрын
best video ever on merge sort ❤
@atul2111
@atul2111 5 ай бұрын
vrey nice explanation bhaiya 😍
@AnshikaDas-x3z
@AnshikaDas-x3z 9 ай бұрын
chamak gya bhaiya acche se❤
@devendrasharma8750
@devendrasharma8750 4 ай бұрын
merge sort chamak gya acche se bhaiya
@shubhamsinha5159
@shubhamsinha5159 10 ай бұрын
Well description concept 👌
@jasmeetsingh3170
@jasmeetsingh3170 16 күн бұрын
descending order mei sort karne ke liye simply less than ke sign ko greater than mei convert karna hai or ho gya apka descending order with help of merge sort. ab ap socho ki konse less than sign ko change karna hai.
@rahulkumarsahu205
@rahulkumarsahu205 Жыл бұрын
What a teacher 🫡🫡
@pallavi_jha2004
@pallavi_jha2004 2 ай бұрын
Bhaiya, unique number of occurence leet code problem ka optimize solution nhi ho pa rha h ,please help
@darkshiner494
@darkshiner494 2 ай бұрын
rohit bhai ur the best
@junaidsayem279
@junaidsayem279 25 күн бұрын
beautiful concept
@sarthakgupta096
@sarthakgupta096 11 ай бұрын
Sir ji chamak gya❤
@shailjayadav7995
@shailjayadav7995 Жыл бұрын
Good morning Bhaiya
@AakashParvani
@AakashParvani Жыл бұрын
Day 82 Done 👍✅ Chamak Gaya
@alonemusk107
@alonemusk107 3 ай бұрын
Chmak gya 😁❤❤❤
@PranjaliKeshari-ql9sp
@PranjaliKeshari-ql9sp 12 күн бұрын
chamak gaya bhaiaya
@shubhamkumarjha9192
@shubhamkumarjha9192 Жыл бұрын
Good morning bhaiya ji 💖
@YashSaini007
@YashSaini007 Жыл бұрын
Bhaiya Radhe Radhe 🙏
@JashanpreetSingh-zh2de
@JashanpreetSingh-zh2de 8 ай бұрын
Mza agya 😀bhaiya
@debadityamukherjee5498
@debadityamukherjee5498 5 ай бұрын
very nice explanation
@krishna-cu2ju
@krishna-cu2ju Жыл бұрын
nicely explained....keep going.
@ankushladani496
@ankushladani496 Жыл бұрын
Done Bhaiya... Day 82/180 ✅
@harshitgupta917
@harshitgupta917 Жыл бұрын
best video tha bhaiya
@shree_275
@shree_275 7 ай бұрын
best lec forever
@bibekkumarpanda4388
@bibekkumarpanda4388 9 ай бұрын
Great lecture
@Js0109Js
@Js0109Js Жыл бұрын
best explanation!
@joydeep-halder
@joydeep-halder Жыл бұрын
Good morning bhaiya ❤❤
@AMITKUMAR-ds4hp
@AMITKUMAR-ds4hp Жыл бұрын
Good morning boss ❤
@patanwar
@patanwar 6 ай бұрын
Shaandar ✨♾️
@weinstoller7423
@weinstoller7423 27 күн бұрын
clear hai, hanji bhaiya😂
@vivekanandkumar8493
@vivekanandkumar8493 8 ай бұрын
Bhaiya chamak gaya merge sort
@harimohansharma5561
@harimohansharma5561 5 ай бұрын
bhaiya chamak gya pora
@nilkanta1790
@nilkanta1790 Жыл бұрын
Hat's off to you sir ❤❤❤
@abhinavparashar1934
@abhinavparashar1934 4 ай бұрын
// & Merge Sort using Recursion // ^ Method 1 : Output will be In Increasing order #include #include using namespace std; void merge(int arr[], int start, int end, int mid) { // difine a temp vector and store sorted array elements in it vector temp(end - start + 1); int left = start, right = mid + 1, index = 0; // sorting elements from left and right part of array and stored in temp vector while (left
@Coder-rohits
@Coder-rohits 11 ай бұрын
thoda complex tha
@mohitkumar-ek6zh
@mohitkumar-ek6zh 10 ай бұрын
bhaiya really thankful to u
@joydeep-halder
@joydeep-halder Жыл бұрын
HW: Count Inversion ✅✅ while(left
@AbhishekKumar-lu3lp
@AbhishekKumar-lu3lp Жыл бұрын
can you solve the problem of the day in gfg Reach the Nth point //{ Driver Code Starts #include using namespace std; // } Driver Code Ends class Solution{ public: int nthPoint(int n){ // Code here if(n
@joydeep-halder
@joydeep-halder Жыл бұрын
@@AbhishekKumar-lu3lp Pura question padho, ho jayega. You have missed one crucial information mentioned in the problem itself.
@AbhishekKumar-lu3lp
@AbhishekKumar-lu3lp Жыл бұрын
@@joydeep-halder ho gya solve ✨
@MohammedHasmi577
@MohammedHasmi577 5 ай бұрын
Amazing sir
@YASHYADAV-f9i
@YASHYADAV-f9i 2 ай бұрын
bhaiya maja aagya
@Shreyashskmvj
@Shreyashskmvj 3 ай бұрын
Chamak Gaya bhaiya
@Ajkr2
@Ajkr2 7 ай бұрын
#include #include using namespace std; void merge(int arr[],int start,int mid,int end){ vectortemp(end-start+1); int left =start ,right =mid+1,index =0; //index jaha value fill krni hai while(left
@Harshmishra0007
@Harshmishra0007 Жыл бұрын
Bahiya time complexity mai to apne recursion ki height nikali jo ki logn aayi pr hr level aur bhi to kaam ho rha hai unhe bhi to add krenge bs yhi doubt hai smaj nhi aa rha hai agar function bnaye T.C ka to T(n)=2T(n/2) +n bnega. Ye ek baar phir btao plzzz
@prathmesh_Bidve
@prathmesh_Bidve Жыл бұрын
Good morning bhaiya
@SubhashKumar76-x8g
@SubhashKumar76-x8g Жыл бұрын
chamak gya bhaiya
@ShubhamPanchal-zv7bp
@ShubhamPanchal-zv7bp Жыл бұрын
bro ye sequence me kyo nahi he assignment kuch kuch missing he
@universalmeditationmusic9299
@universalmeditationmusic9299 Жыл бұрын
awesome lecture
@SurajGupta-ux2se
@SurajGupta-ux2se 6 ай бұрын
what an explanation
@karthikhkamath
@karthikhkamath 10 ай бұрын
Bhaiyya I think you hold the pen ulta?, uske pointed side se likhna hotha hai na?
@rvkumar2446
@rvkumar2446 10 ай бұрын
Chammak gya
@ritikrawat6105
@ritikrawat6105 3 ай бұрын
merge sort
@sbworld13
@sbworld13 Жыл бұрын
Chamka ✨
@mdpsycho2op670
@mdpsycho2op670 Жыл бұрын
Morning Bhaiyaaaaa
@YogeshwarGupta-r3u
@YogeshwarGupta-r3u Жыл бұрын
jhakas bhaiay
@shree_275
@shree_275 7 ай бұрын
merge sort :- #include #include using namespace std; void Merge(int arr[], int start, int end, int mid) { vector temp(end - start + 1); int left = start, right = mid + 1, index = 0; while (left
@Surenderdubey221
@Surenderdubey221 4 ай бұрын
Good
@akashkewat1219
@akashkewat1219 Жыл бұрын
Thanks bhaiya. 😊
@GopalKumar-xu3iw
@GopalKumar-xu3iw Жыл бұрын
Day 82/180 done ✅✅✅✅✅
@himanshuchaure
@himanshuchaure Жыл бұрын
class Solution{ public: // arr[]: Input Array // N : Size of the Array arr[] // Function to count inversions in the array. long long merge(long long arr[], vector&temp, int start, int mid, int end){ long long left=start, right= mid+1, index=start; long long c=0; while(left
@durgaprasadparmar5339
@durgaprasadparmar5339 11 ай бұрын
thank you bhaiya
@RishabRajGupta-m9i
@RishabRajGupta-m9i 2 ай бұрын
Bhaiya, sab samajh me aa gya lekin Mic achi use krlo
@sumitkumarmahto4312
@sumitkumarmahto4312 8 ай бұрын
Bhaiya isko koi diffrent method se bhi bana sakte hai na dono sahi hoga na
@Anonymous____________A721
@Anonymous____________A721 4 ай бұрын
S
@nanumix3167
@nanumix3167 9 ай бұрын
48:46
@Memerluffy
@Memerluffy 7 ай бұрын
48:14
@kartikeydwivedi6892
@kartikeydwivedi6892 5 ай бұрын
done 👍
@reality_today
@reality_today 5 ай бұрын
chamak gya
@rhitam_biswas
@rhitam_biswas 5 ай бұрын
Merge sort ✅✅✅✅
@vaibhavpatil3411
@vaibhavpatil3411 2 ай бұрын
I have created animation for the explanation of merge sort: kzbin.info/www/bejne/nKvRpayifZaCj80
@Aryan-wl7mc
@Aryan-wl7mc Жыл бұрын
Morning 😄
@allinonemoviesyt
@allinonemoviesyt 11 ай бұрын
Merge Sort for descending Order in Java: public static void merge(int[] arr,int start,int mid, int end){ int[] temp = new int[end-start+1]; int left = start; int right = mid+1; int index = 0; while(left
@amankumaramar271
@amankumaramar271 Жыл бұрын
1:1909 //merge sort on Decending onrder #include #include using namespace std; void merge(int arr[],int start,int mid,int end) { vectortemp(end-start+1); int left=start, right=mid+1,index=0; while(left
@aniketshinde4426
@aniketshinde4426 10 ай бұрын
Check your answer, in first while loop of merge function their may be wrong if condition;
@0sureshyadav0
@0sureshyadav0 4 ай бұрын
haan ji bhaiya
Lecture 60: Quick Sort Algorithm
59:48
Coder Army
Рет қаралды 26 М.
Merge Sort Using Recursion (Theory + Complexity + Code)
49:47
Kunal Kushwaha
Рет қаралды 252 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
Heap Sort | Build Heap in C++ | Priority Queue
1:19:47
Coder Army
Рет қаралды 20 М.
Heaps, heapsort, and priority queues - Inside code
19:01
Inside code
Рет қаралды 102 М.
Making a New Compiler
15:36
Modern Retro Dev
Рет қаралды 8 М.
31 nooby C++ habits you need to ditch
16:18
mCoding
Рет қаралды 839 М.
2,000 People Fight For $5,000,000
24:45
MrBeast
Рет қаралды 39 МЛН
Top 7 Algorithms for Coding Interviews Explained SIMPLY
21:22
Codebagel
Рет қаралды 458 М.
НОВАЯ ШКОЛА ТАБА ЛАПКЕРОВ ДЛЯ МЕДВЕДЯ ВАЛЕРЫ
13:30
2024's Biggest Breakthroughs in Math
15:13
Quanta Magazine
Рет қаралды 356 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН