Divide & Conquer Algorithm In 3 Minutes

  Рет қаралды 66,656

Kantan Coding

Kantan Coding

Жыл бұрын

Divide & Conquer Algorithm/Pattern (Merge Sort, Merge Two Sorted Arrays) Join the Discord to talk to me and the rest of the community!
/ discord

Пікірлер: 33
@matthewbridges3147
@matthewbridges3147 2 күн бұрын
Beautifully animated video, great explanation and delivery, thank you!
@nasrimarc7050
@nasrimarc7050 Жыл бұрын
Very clear overview of how merge sort works , thank you so much
@kantancoding
@kantancoding Жыл бұрын
No problem! Thanks for watching 🙂
@christmasisawesome9348
@christmasisawesome9348 5 ай бұрын
Thank you for the visualisation, good sir.
@kantancoding
@kantancoding 4 ай бұрын
You’re very welcome 😊
@Seallbay
@Seallbay Жыл бұрын
Very good explanation. I’m currently doing my A-Levels and this helped me!
@kantancoding
@kantancoding Жыл бұрын
Thank you! I’m sure you’ll do great 😊
@Seallbay
@Seallbay Жыл бұрын
@@kantancoding thank you!
@leandromarcelo2340
@leandromarcelo2340 6 ай бұрын
hello, I loved your video and I would like to know how you do the animations of the arrangements and such, what kind of tools and/or technologies do you use?
@kantancoding
@kantancoding 6 ай бұрын
Hey thank you! I’m glad you liked it. For this video I use manim/python
@CarlosLopez-fl6yf
@CarlosLopez-fl6yf 2 ай бұрын
simple and efficient, thanks brother.
@kantancoding
@kantancoding 2 ай бұрын
Happy to help!
@suggestaname1685
@suggestaname1685 Жыл бұрын
Amazing video! can you please tell me which program you use to make these illustrations, they are fantastic!
@kantancoding
@kantancoding Жыл бұрын
Thank you and sure, it's called manim
@user-ez8bm6qy6k
@user-ez8bm6qy6k 2 ай бұрын
Very good explanation , thank you
@kantancoding
@kantancoding 2 ай бұрын
Happy to help! ☺️
@Sebastian1832x
@Sebastian1832x Жыл бұрын
Cool vid, very well done.
@kantancoding
@kantancoding Жыл бұрын
Thank you 🙂
@kyokokirigiri166
@kyokokirigiri166 4 ай бұрын
Thanks I appreciate this
@kantancoding
@kantancoding 4 ай бұрын
Thank you! I’m happy to help
@dex1444
@dex1444 26 күн бұрын
thanks, this was mentioned in money heist
@kantancoding
@kantancoding 26 күн бұрын
😂 no problem
@River049
@River049 Жыл бұрын
This is probably crazy!😎
@user-yd9xy3rb4x
@user-yd9xy3rb4x Ай бұрын
Wait a second this is a quick sort
@kantancoding
@kantancoding Ай бұрын
Yes, quicksort is based on divide and conquer ☺️
@michaelglendinning1738
@michaelglendinning1738 4 ай бұрын
Now..... give each of those boxes a personality. Nevermind.....I won't go there. I know who owns this popular video platform we all use.
@kantancoding
@kantancoding 4 ай бұрын
🤫
@sssumeet
@sssumeet Жыл бұрын
what is the space complexity of merge sort?
@kantancoding
@kantancoding Жыл бұрын
It depends on the implementation but the simple answer is O(n)
@narendrakumar5338
@narendrakumar5338 Жыл бұрын
average time complexity of merge sort is O(nlogn)
@920PC
@920PC Жыл бұрын
The first 30 seconds of this video is epic and is all is really needed the second half really just complicates things and doesn't explain anything.. I would have been more likely to click on this video if it was only a 1 minute video I went and searching for a different videos before watching this because it was so long.. I'm glad I came back because you explained it very well, articulated it in a way that I was unable to when trying to explain this to a friend I just wish the video would have stopped after 30 seconds or so. Either way thank you for posting
@kantancoding
@kantancoding Жыл бұрын
Actually, that first example is an oversimplification to give the viewer a general understanding of the algorithm. That example alone isn’t enough to fully understand the algorithm which is why I progress the explanation by increasing the difficulty of the following example. Merge sort is a textbook example of divide and conquer. I’d question any video that attempts to teach divide and conquer without ever bringing up merge sort. If you can’t understand merge sort, you don’t understand the algorithm regardless of if the first example was intuitive for you or not. Also, if you are skipping a 3 minute video because it’s more than 1 minute, you’re likely not in the market to understand the algorithms deeply. This series is geared towards actually learning the algorithms deeply. I don’t compromise teaching quality for clicks. That’s why there’s so much trash educational content on KZbin now. But I actually do appreciate the feedback. Always good to understand the nuances in what people search for.
@920PC
@920PC Жыл бұрын
@@kantancoding I will give you to you brother. That is one of the most mature and complete -- comprehensive, understandable, and level headed replies to a short sided comment that I have ever seen on KZbin.. Kudos my friend. I stand corrected. You are a great asset to this platform and I offer my sincere apology and great regard for your contribution to the audience here. Thank you for the upload. Keep coming my brother. GOD BLESS!!
K Way Merge Using Divide & Conquer (In 3 Minutes)
3:11
Kantan Coding
Рет қаралды 15 М.
Learn Merge Sort in 13 minutes 🔪
13:45
Bro Code
Рет қаралды 261 М.
ТАМАЕВ vs ВЕНГАЛБИ. ФИНАЛЬНАЯ ГОНКА! BMW M5 против CLS
47:36
Please be kind🙏
00:34
ISSEI / いっせい
Рет қаралды 133 МЛН
MEU IRMÃO FICOU FAMOSO
00:52
Matheus Kriwat
Рет қаралды 24 МЛН
Balloon Stepping Challenge: Barry Policeman Vs  Herobrine and His Friends
00:28
비전공자가 줄기 시작한 개발시장?
6:24
양동준 Yang DongJun
Рет қаралды 3,1 М.
Top 7 Algorithms for Coding Interviews Visualized
33:45
Kantan Coding
Рет қаралды 21 М.
3 Types of Algorithms Every Programmer Needs to Know
13:12
ForrestKnight
Рет қаралды 451 М.
How Dijkstra's Algorithm Works
8:31
Spanning Tree
Рет қаралды 1,3 МЛН
The 3 Laws of Writing Readable Code
5:28
Kantan Coding
Рет қаралды 270 М.
5 Simple Steps for Solving Any Recursive Problem
21:03
Reducible
Рет қаралды 1,2 МЛН
Top 7 Algorithms for Coding Interviews Explained SIMPLY
21:22
Codebagel
Рет қаралды 299 М.
ТАМАЕВ vs ВЕНГАЛБИ. ФИНАЛЬНАЯ ГОНКА! BMW M5 против CLS
47:36