2.7.2. Merge Sort Algorithm

  Рет қаралды 1,628,919

Abdul Bari

Abdul Bari

Күн бұрын

You should already know what is merging and merge patterns
you can watch here • 2.7.1 Two Way MergeSo...
MergeSort Recursive Method
Tracing of MergeSort Algorithm
Analysis of MergeSort Algorithm
Draw backs of MergeSort
PATREON : www.patreon.com/bePatron?u=20...
Courses on Udemy
================
Java Programming
www.udemy.com/course/java-se-...
Data Structures using C and C++
www.udemy.com/course/datastru...
C++ Programming
www.udemy.com/course/cpp-deep...

Пікірлер: 647
@solidstatedevices
@solidstatedevices 5 жыл бұрын
Apart from subject knowledge and skills , the modulation of voice is very important for a teacher. Some teachers despite having crystal clear concepts , irritates when speak. Your voice is crisp and delivery is smooth. Hats off to you.
@knowledgedeveloper4975
@knowledgedeveloper4975 4 жыл бұрын
Merge sort kzbin.info/www/bejne/sHe9qaqbf99sgKc
@moisesacero4995
@moisesacero4995 3 жыл бұрын
His voice puts me to sleep... in the BEST way possible. It relaxes me and makes learning everything so enjoyable.
@ikhtilafkahalurdutips7219
@ikhtilafkahalurdutips7219 3 жыл бұрын
@@moisesacero4995 😁😁😝
@syum1100
@syum1100 2 жыл бұрын
Very very true
@Helly04
@Helly04 19 күн бұрын
No Jenny's lecture is harmed from this comment !
@kevinjad4506
@kevinjad4506 5 жыл бұрын
Teachers are beautiful ! Dude(s) , he did it for free (he stood and taught us on a board for half an hour) and we learnt hell a lot! No words ! I learnt for free from u sir.
@allenalex4861
@allenalex4861 4 жыл бұрын
Well said
@omart9411
@omart9411 3 жыл бұрын
but the video is only 20 mins not 30mins, but I get your point
@savashzaynal6502
@savashzaynal6502 3 жыл бұрын
@@omart9411 sorry for being harsh on you in my earlier response. I will give you a friendly advise though, life is precious one should not waste theirs or anybody enybody else's energy on thoughts and actions that are not constructive. I wish you well.
@dbsllama6042
@dbsllama6042 3 жыл бұрын
Savash Zaynal ...
@mayanksikarwal5921
@mayanksikarwal5921 3 жыл бұрын
@@omart9411 "Council of Men" approves your statement.
@asad_mirza
@asad_mirza 3 жыл бұрын
Maturity is when you realize - KZbin is the real classroom
@ricardocambundo2527
@ricardocambundo2527 3 жыл бұрын
This is big faxxxxx, this is big truth
@programmertik2046
@programmertik2046 3 жыл бұрын
Maturity +Reality 👍
@Racers_Club
@Racers_Club 3 жыл бұрын
Completely agree💯💯
@ruotianzhang3139
@ruotianzhang3139 3 жыл бұрын
exactly
@IChowdhury01
@IChowdhury01 3 жыл бұрын
youtube is better than college
@adityapathak241
@adityapathak241 3 жыл бұрын
sir you are ruling algorithm section of YT currently.
@sonakshimishra.821
@sonakshimishra.821 3 жыл бұрын
Someone who explicitly knows what he's talking about. That's rare on KZbin. Hats off, sir. Much respect and blessings for you.
@AnitShrestha
@AnitShrestha 5 жыл бұрын
Speed up 2, and the clarity is maintained! Thank you again.
@bunwat223
@bunwat223 4 жыл бұрын
I use 1.5x
@utkarshdixit3579
@utkarshdixit3579 4 жыл бұрын
1.75 is best bro
@harshraj2993
@harshraj2993 3 жыл бұрын
So true bro 😎
@AbhishekSingh-pj2ft
@AbhishekSingh-pj2ft 3 жыл бұрын
I checked twice whether I am playing on 2x or not 😂😂😂
@jayvaibhawverma
@jayvaibhawverma 3 ай бұрын
1.75 X is the best. Neither too fast, nor too slow
@echoesofelysium18
@echoesofelysium18 3 жыл бұрын
You are such a good teacher, my lecturer even recommends to watch your channel if anyone doesn't understand the class. This is the first time I had seen a teacher recommending to learn from another teacher. You are simply the best.
@jayanth9445
@jayanth9445 2 жыл бұрын
Bro are you from srm
@adityamehta2008
@adityamehta2008 Жыл бұрын
My professor also teaches from his videos 😂
@himanshubansla97
@himanshubansla97 5 жыл бұрын
izzat hai sirji apke liye dil me
@manuelconte2127
@manuelconte2127 5 күн бұрын
KZbin is the best school, college, university. The best place to learn.
@PythonisLove
@PythonisLove 4 жыл бұрын
*Thanks sir, nowadays in most of the college the teaching process is not so good as I get here in youtube from* *Teachers like you... Thanks for the effort sir, and keep going , help students ...*
@cozmos1553
@cozmos1553 3 жыл бұрын
Unbelievable ..so calm and composed..!! We need more teachers like him !
@OM-el6oy
@OM-el6oy 2 жыл бұрын
I love the way he changes his diction and asks very basic, almost rhetorical questions. It's sort of condescending, yet endearing, like he's just checking on me to see that he hasn't lost me.
@krimsonsun10
@krimsonsun10 10 ай бұрын
This man needs a Hall of Fame Statue. 🏆 best explanation ever
@asdakuhi8h
@asdakuhi8h 5 жыл бұрын
I've been having trouble learning merge sort but this video helped me out so much. Going through the recursive calls made it so easy to understand.
@intuitivej9327
@intuitivej9327 3 жыл бұрын
how lucky I am.. I am sitting in my room with coffee and learning from the best teacher in the world. T hank you from South Korea.
@tiyasha2907
@tiyasha2907 3 жыл бұрын
Only the best quality teacher knows how to make a student fall in love with a subject and those kinds of teachers are very rare! I remember Rani Mukherjee said that there are no bad students, only bad teachers, and you Sir know how to change a bad student into good one! Edit: request everyone to not skip ads as that is one way to support him!
@mahadevhatti5228
@mahadevhatti5228 3 жыл бұрын
i am using adblocker 😅😅
@codeload1694
@codeload1694 4 жыл бұрын
U r just simply great .Apart from that, u got a tone which makes me feel like I am devouring every words inside from u.Great work.
@Aditya-Pathariya
@Aditya-Pathariya 5 жыл бұрын
Sir, I can't thank you enough for your videos. Your teaching is on a whole different level. I haven't encountered a teacher who can explain things in such an easy way as you do. Please keep making videos. These are life savers for us. God bless you.
@kalagaarun9638
@kalagaarun9638 4 жыл бұрын
I cannot understand at all how could anyone dislike this video.. This is the example of such a hardworking man.. Nothing but thanks from the bottom of my soul
@mdshaluddin8368
@mdshaluddin8368 3 жыл бұрын
u yourself didn't understand anything than what can u expect from others..
@kalagaarun9638
@kalagaarun9638 3 жыл бұрын
@@mdshaluddin8368 as a matter of fact I understood every word !
@nikitha1484
@nikitha1484 4 жыл бұрын
Thank you sir! Such a wonderful way of teaching, one could understand everything to the core just in one go. Thank you.
@bloggerayush8550
@bloggerayush8550 2 ай бұрын
it's more than 6 years...but still Bari sir concepts are on the top of youTube algorithm
@ak_akemi
@ak_akemi 3 жыл бұрын
Why is always an Indian guy who saves my academic life?
@bakeery
@bakeery 3 ай бұрын
He is not India
@pratiknarule2604
@pratiknarule2604 Ай бұрын
He is​@@bakeery
@bakeery
@bakeery Ай бұрын
@@pratiknarule2604 i heard he is from Pakistan
@pratiknarule2604
@pratiknarule2604 Ай бұрын
@@bakeery He is Indian name doesn't give nationality as Pakistan
@samsunny4759
@samsunny4759 6 жыл бұрын
I was searching for a simple merge sort algorithm. Thank you so much sir,.,
@VysePresidentGeo
@VysePresidentGeo Жыл бұрын
I deeply appreciate the time and effort you spent explaining this. The delivery is simple and effective, and I feel like I learned far more from this than I did from my college classes and textbook. Thank you.
@myriameldeeb9022
@myriameldeeb9022 5 жыл бұрын
Thank you so much mr. AbdulBari, you're one of main sources that helped me to understand data structures and now advanced algorithms, i'm loving this field more because of your support and help, please never stop
@user-mi5ty8of7w
@user-mi5ty8of7w 10 ай бұрын
I have not met such an instructor before. This professional is the key to understanding these concepts.. Congrats Abdul!!
@jhansisaisindhuriadavikola5067
@jhansisaisindhuriadavikola5067 3 жыл бұрын
I never thought that DS would be that easy until I've come to know about your channel.. On suggestion of my brother I started watching your videos a day before my exam.. Thanks a lot Sir... U have made me confident enough to attend my semester end exams.. 😇😇 #_GRATITUDE 🥰
@sonianarendramodi2605
@sonianarendramodi2605 3 жыл бұрын
are shweta h!!!! tum to famous ho gaye yaar
@ssarankarthik1980
@ssarankarthik1980 8 ай бұрын
sir tommorow i have a exam on design and analysis of algorithm your videos made my all doubts clear and I'm confident for my exam and I wanna thank my friend to recommand your channel for my DAA exam THANK YOU SIR♥♥♥♥♥
@ohmyumbrella
@ohmyumbrella 2 ай бұрын
Remember watching your videos back during college exams. Now back here again trying to prepare for interviews in this terrible job market. This series is phenomenal and you are an excellent teacher.
@chakreshsingh
@chakreshsingh 2 жыл бұрын
Sir, you are doing such a great job by creating these classroom grade lectures. Thanks a lot.
@superuser8636
@superuser8636 3 жыл бұрын
This is an awesome algorithm demo! Very well done de-mystifying the recursive nature
@KarunyaSharmaOfficial
@KarunyaSharmaOfficial 6 жыл бұрын
Good Evening, Just wanted to let you know that theres my exam of ADA, and I've not touched any book or any other notes, I've just watched your videos, and my confidence level is too damn high for this exam, you're too good at teaching sir, I would've not missed any classes if you were the professor in our college, Thank you so much for these videos, I watched almost all of your videos of ADA. I am from Bhopal, Oriental College. P.S. - Please reffer some good videos for TOC sir. Thank you :)
@leetcodemonkey481
@leetcodemonkey481 Жыл бұрын
How's life now, mate?
@AnubhavKatyalvlogs
@AnubhavKatyalvlogs 6 жыл бұрын
Yor are best teacher sir i couldn't understand this algorithms from anyone else and you taught me within few minutes Thank you very much sir..
@ayushmishra927
@ayushmishra927 5 жыл бұрын
when does mergeSort(mid +1 ,h) is called becasue finally when mergeSort(1,1) was called and it checks the condition if(1
@rubayaaktermim7190
@rubayaaktermim7190 Жыл бұрын
You taught us this recursion more than a website couldn't teach us..... hats off you sir. Thank you
@VIKASKUMARHBK
@VIKASKUMARHBK 3 жыл бұрын
I have purchased your 2 mentioned courses on Udemy as I go through your way of teaching. Just fabulous and iterative way of guiding. You are a great teacher.
@lea-anon
@lea-anon Жыл бұрын
Data Structures and Analysis of Algorithms are the worst courses ever until you discover this legendary man's channel.
@NiteshBhushan95
@NiteshBhushan95 2 жыл бұрын
No programming language is a barrier here , Understand the logic and code it in your preferred language . Absolutely Amazing .. You are doing great sir .. :)
@adityapatel1
@adityapatel1 4 жыл бұрын
The best straight forward yet detailed explanation to some pretty hard algorithms sir thanks a lot for helping us
@GopalSinghR1
@GopalSinghR1 6 жыл бұрын
Great with crystal clear explanation. Thanks keep uploading more videos.
@ayushmishra927
@ayushmishra927 5 жыл бұрын
when does mergeSort(mid +1 ,h) is called becasue finally when mergeSort(1,1) was called and it checks the condition if(1
@agshing
@agshing 5 жыл бұрын
​@@ayushmishra927 you can write if condition oppositely if (h
@pbkelly
@pbkelly Ай бұрын
It's crazy how much I can learn from this 20-minute video than days in lectures.
@Inforaaz1
@Inforaaz1 Жыл бұрын
For the first time in youtube this 20 minutes lecture did not get boring Lot's of thanks ❤️ sir ji
@nitishyadav554
@nitishyadav554 3 жыл бұрын
I have to come back to this video with a better internet connection than I had back in the day when I watched this video for the first time and helped me. Thank you !
@Jin-ec1vc
@Jin-ec1vc 2 жыл бұрын
Explanation is so clear and organized. I watched previous lecture ( How merge works) for full understanding. You're the best!
@yuvrajSingh-iw4fe
@yuvrajSingh-iw4fe 5 жыл бұрын
just 3 hours for my exam today and sir you made my day... everything is clear sir.. hatts off to you sir...thanks a lot
@softwareengineer8923
@softwareengineer8923 10 ай бұрын
Your videos are incredibly great and clear.Thanks a lot for this great series!
@matamorosa
@matamorosa 5 жыл бұрын
Mr Bari, you are amazing! Best lecturer in computer science i have seen yet
@leechang4234
@leechang4234 3 жыл бұрын
Sir hats off ! during COVID-19 I have been taking online classes but i cannot understand a single word but because of the way how you explained,it got so easy for me to understand it.
@matrionixmatx4559
@matrionixmatx4559 2 жыл бұрын
Sir, u r just too great. You are like blessing to my college life, Im not that good student and no one really want to teach me unless they have their motive...and online classes is just too stressing. In the middle of all u taught me many algo of discrete maths and now this, Im really greatful sir
@raghuveerprasad4644
@raghuveerprasad4644 5 жыл бұрын
Sir , really ur amazing Thanks for your lecture on data structure Finally i have passed the exam
@srimanproductions8396
@srimanproductions8396 3 жыл бұрын
5:23 that divide hit me hard. this sir is awesome hard to find teachers like this..
@sgr2683
@sgr2683 3 жыл бұрын
THANKYOU SO MUCH SIR for this amazing explaination ! I am learning merge sorting first time and you explained everything in just few minutes.
@raxrabasco9458
@raxrabasco9458 8 ай бұрын
his voice is very smooth and calm that is the reason he can explain everything very easily.
@upendarreddy5482
@upendarreddy5482 4 жыл бұрын
I guess your tutorial is one clear and easy way to understand Algorithms&Data-structures.I haven't found anything else ,which is even half of what you explained.Thanks lot Mr.Abdul Bari,
@mrunalshende1663
@mrunalshende1663 3 жыл бұрын
everybody is a gangsta until AB sir comes to teach .
@DineshKumar-lq2ck
@DineshKumar-lq2ck 3 жыл бұрын
some people are blessed with Talent, You are one of them, you makes things easy to such level that a person like me with no technical background understands them. May God keep you healthy and blessed.
@abdul_bari
@abdul_bari 3 жыл бұрын
God Bless you Dinesh.
@DineshKumar-lq2ck
@DineshKumar-lq2ck 3 жыл бұрын
@@abdul_bari thank you sir
@akashshiva5100
@akashshiva5100 4 жыл бұрын
SIr you are great whenever I am not able to understand the topic. You are always my last hope and you explain any complex topic in simplest way, that's the beauty of your teaching.
@supastar25
@supastar25 4 жыл бұрын
Merge sort is so elegant when explained this clearly...thanks a lot.
@mozammilhussain3725
@mozammilhussain3725 3 жыл бұрын
Such a crystal clear explanation.u r a gem sir. While teaching your voice is so nice and humble. I appreciate ur work sir. You just stood there and taught me i have no words to explain how good u r. Hope one day i meet u and say thanks.My prayers are always with u. Bari sir legend ❤️
@sauravkumarjha2838
@sauravkumarjha2838 4 жыл бұрын
You are a real teacher, sir. what a nice explanation. god bless you , sir.
@shubhamk840
@shubhamk840 4 жыл бұрын
Level of confidence with which he teaches is result of years of experience and expertise.
@sathya8425
@sathya8425 5 ай бұрын
Im learning from your videos after 5 years. Videos are very helpful in understanding the logic. You are a great teacher sir. Thank you so much for your wonderful efforts.
@ancyskumar8371
@ancyskumar8371 3 жыл бұрын
This video became so useful for us..I wish u wer our lecturer in my engineering college. you have more ability to make students understand the concept. Thank you so much sir!🙏
@sagnikbhowmikcsai21
@sagnikbhowmikcsai21 2 ай бұрын
The best video of Merge Sort that too in just 20 mins comprising Tree method and DAC both ways . Wow ! Thats a quintessential one ☝️. Hatsoff Bari Sir ❤
@MrShozayen
@MrShozayen 4 жыл бұрын
Clear explanation without any confusion with honesty in sharing the knowledge Thanks heaps for the videos
@rudrakshjhalani1681
@rudrakshjhalani1681 4 жыл бұрын
I can't think why do you have so less subscribers, you should definitely reach out on other platforms as well sir. Teachers like you are needed and teachers like you should get way more than those school and college professors!
@ansupbabu8557
@ansupbabu8557 5 жыл бұрын
You are one of the finest explainer. More power to you.
@jenliang5292
@jenliang5292 4 жыл бұрын
Thank you sir. After learning these algorithms with you ,I'll follow up the courses on UDEMY. Appreciate it Sir.
@vipinmankar2122
@vipinmankar2122 4 жыл бұрын
This man gives best explain on of any algorithm ...hats off to you sir .
@almightyblazettv8421
@almightyblazettv8421 2 жыл бұрын
took this guys course on udemy, I highly recommend.. I feel like as genius and im coding algorithms daily and data strurctures. very happy. thank you Bari!
@simrangupta7251
@simrangupta7251 3 жыл бұрын
Sir you are so so intelligent and a rare to be found teacher 😇we are so lucky to have found this channel of yours !! Thank you so much for imparting your knowledge to students .. may god bless you forever 🙏🏻
@manthanchauhan6954
@manthanchauhan6954 5 жыл бұрын
you teach great Mr. Abdul. Not everybody has such teaching skills.
@karthikeyansundaram4534
@karthikeyansundaram4534 3 жыл бұрын
Your explanations are wonderful, easier to grasp and understand. Thank you sir !...
@aarushsharma5966
@aarushsharma5966 5 жыл бұрын
how can someone dislike this gem ?? immense respect to you.. !!
@vietbui6308
@vietbui6308 11 ай бұрын
You are the first Indian teacher that I can understand, your speaking skill is so good my man. Respect.
@ridwanchowdhury9060
@ridwanchowdhury9060 4 жыл бұрын
now the concept is clear thank you sir
@princeiscpv
@princeiscpv 6 жыл бұрын
It is really a good lecture..i think i understand clearly your whole lecture..Thank you sir and keep it up.
@rahulvarma7257
@rahulvarma7257 4 жыл бұрын
Wonderful explanation. You made me to understand the concept in an easy way. Keep it up 👍👌
@saiprem1212
@saiprem1212 4 жыл бұрын
thank you sir i just followed ur lectuers and i cleared my backlog exam.
@pranavmishra9366
@pranavmishra9366 5 жыл бұрын
become so easy to learn from you. Thank you, sir.
@renjithcr311
@renjithcr311 3 жыл бұрын
Thanks.. Sir ..Iam passed my MCA Xam "Analysis and Design of Algorithms"...I have no notes...I just watched your videos and wrote the exam...Thank you so much sir♥️
@rajeewvishvakarma6974
@rajeewvishvakarma6974 2 жыл бұрын
Abdul Sir.. you are an excellent teacher! Thank you sir for teaching in easy way!
@user-np9mf5of8k
@user-np9mf5of8k 3 ай бұрын
Wonderful explanation, Dr. Bari. Keep up the great work. Cheers!
@thexxmaster
@thexxmaster 3 жыл бұрын
u are carrying the world on ur shoulders, thank you brother.
@nadadrop2369
@nadadrop2369 5 жыл бұрын
Really you are a great teacher , thank you very much جزاك الله خيرا يارب ورزقك الجنه
@alvinkuria1
@alvinkuria1 9 ай бұрын
amazing explanation. Glad TOP showed me these vids from you
@MrLazini
@MrLazini 3 жыл бұрын
Really good and professional. Thank you for the free knowledge !!
@rahulabrol2211
@rahulabrol2211 4 жыл бұрын
Thank you so much sir for this wonderful explanation ❤️❤️....I love the way you explain it...keep it up.
@pankajsharma-hh9no
@pankajsharma-hh9no 2 жыл бұрын
after long time such a beautiful video i saw and understood each and every line : Thanks
@malikcampbell4758
@malikcampbell4758 5 жыл бұрын
It's funny that everyone can tell when a teacher is GOOD, you can see that by the comments. You're better at explaining than my universities professors. This is why we need good teachers!! Topics are not hard when someone can explain it to you well.
@SmartProgramming
@SmartProgramming 5 жыл бұрын
very clear explanation, really awesome, thank you for helping such a lot 👍👍👍👍
@aditipatil7758
@aditipatil7758 4 жыл бұрын
Sir 🙏🙏🙏 you are just life saviour for me . Keep going . Good job 👍🏻
@AjmalOrawala
@AjmalOrawala 3 жыл бұрын
keeping it simple and to the point Sirji 🙏🏻
@arunadityaviolin
@arunadityaviolin 6 жыл бұрын
Thank you sir, Really liked this explanation.
@darklife4924
@darklife4924 5 жыл бұрын
one of the best teacher i have ever seen,,,,.
@harithaaripelly2347
@harithaaripelly2347 3 жыл бұрын
Simple and clear wid no doubts, no confusion 😊
@maryadalodha9798
@maryadalodha9798 3 жыл бұрын
Just respect and admiration for your content
@nayanchudasama2014
@nayanchudasama2014 2 жыл бұрын
I watch many videos of you sir, your way of explanation is awesome. Thankyou so much sir
@dinhomhm
@dinhomhm 3 жыл бұрын
The best one of you is the one how learns science and teach it.
@aashutoshsinha1253
@aashutoshsinha1253 3 жыл бұрын
my entire engineering life is based on you sir ❤️🙏
2.7.3 MergeSort in-depth Analysis
13:28
Abdul Bari
Рет қаралды 305 М.
2.7.1  Two Way MergeSort - Iterative method
20:19
Abdul Bari
Рет қаралды 689 М.
Let's all try it too‼︎#magic#tenge
00:26
Nonomen ノノメン
Рет қаралды 54 МЛН
SHE WANTED CHIPS, BUT SHE GOT CARROTS 🤣🥕
00:19
OKUNJATA
Рет қаралды 11 МЛН
ПЕЙ МОЛОКО КАК ФОКУСНИК
00:37
Masomka
Рет қаралды 9 МЛН
He Threw A Banana Peel At A Child🍌🙈😿
00:27
Giggle Jiggle
Рет қаралды 17 МЛН
2.8.1  QuickSort Algorithm
13:43
Abdul Bari
Рет қаралды 3 МЛН
2.6.3 Heap - Heap Sort - Heapify - Priority Queues
51:08
Abdul Bari
Рет қаралды 2 МЛН
Merge Sort Algorithm in Java - Full Tutorial with Source
23:02
Coding with John
Рет қаралды 165 М.
8. NP-Hard and NP-Complete Problems
31:53
Abdul Bari
Рет қаралды 1,7 МЛН
Merge sort algorithm
18:20
mycodeschool
Рет қаралды 2,2 МЛН
3.6 Dijkstra Algorithm - Single Source Shortest Path - Greedy Method
18:35
2.9 Strassens Matrix Multiplication
23:40
Abdul Bari
Рет қаралды 1 МЛН
3.5 Prims and Kruskals Algorithms - Greedy Method
20:12
Abdul Bari
Рет қаралды 2,6 МЛН
Let's all try it too‼︎#magic#tenge
00:26
Nonomen ノノメン
Рет қаралды 54 МЛН