Тёмный

Matrix Chain Multiplication | Dynamic Programming 

Quoc Dat Phung
Подписаться 13 тыс.
Просмотров 31 тыс.
50% 1

Опубликовано:

 

23 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 58   
@sanchitrana2948
@sanchitrana2948 4 дня назад
Cant stress enough how useful this simple and brief explanation is. huge thanks
@QuocDatPhung
@QuocDatPhung 4 дня назад
You're welcome Sanchitrana! I'm glad you like my explanation! If you know anyone who needs help with this topic, kindly share it with them and also subscribe to support me (it means a lot) ~ you can find all of my CS videos in this link: ru-vid.com/group/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC
@colemanroy
@colemanroy 10 месяцев назад
Exactly what I wanted, super straight forward and very well explained. Legend!
@QuocDatPhung
@QuocDatPhung 10 месяцев назад
Thanks Colemanroy! I'm glad it helps! Also don't forget to share with others! You can find the rest of my Algorithms videos in this playlist: ru-vid.com/group/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC
@nichilus806
@nichilus806 Год назад
Great explanation/example. Brief but well done. My classmates and I thank you!!
@QuocDatPhung
@QuocDatPhung Год назад
Thanks Nichilus! Please kindly subscribe, it means so much to me! You can also find the rest of my Algorithms videos in this playlist: ru-vid.com/group/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC
@shivasutube
@shivasutube 5 месяцев назад
Simple and Clear explanation... thank you. Gr8 video
@QuocDatPhung
@QuocDatPhung 5 месяцев назад
Thank you Shivasutube! Don't forget to share with your classmates and kindly subscribe ~ you can find all of my CS videos in this link: ru-vid.com/group/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC
@bilalsultan1130
@bilalsultan1130 Месяц назад
Great explanation. And very quickly. Best explanation I've ever seen. I also subscribed your channel.
@QuocDatPhung
@QuocDatPhung Месяц назад
Thank you so much! If you know anyone taking the class who needs it, please kindly share it with them ~ you can find all of my CS videos in this link: ru-vid.com/group/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC
@mansibarewar6295
@mansibarewar6295 5 месяцев назад
i da bestt mann you cleared the doubt which other videos didn't
@QuocDatPhung
@QuocDatPhung 5 месяцев назад
Haha thank you! Don't forget to share with your classmates and kindly subscribe ~ you can find all of my CS videos in this link: ru-vid.com/group/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC
@r.krisnamoorthir.k4622
@r.krisnamoorthir.k4622 5 месяцев назад
Thank you so much sir,
@QuocDatPhung
@QuocDatPhung 5 месяцев назад
You're welcome!! Please share with your classmates to help them in this course and also kindly subscribe ~ you can find all of my Computer Science videos in this link: ru-vid.com/group/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC
@gadithya4447
@gadithya4447 3 месяца назад
could u share what tool you are using?
@QuocDatPhung
@QuocDatPhung 3 месяца назад
Hi Gadithya! I use wacom tablet ctl 490 to write. I also use the Sketchbook app, OBS to record the screen, and Shotcut for editing. I hope that helps! Please kindly subscribe and share my videos it means a lot!
@purifynature8479
@purifynature8479 Год назад
Thank you. This really helped me.
@spenter9570
@spenter9570 6 месяцев назад
Great explanation, quick too
@QuocDatPhung
@QuocDatPhung 5 месяцев назад
Thank you Spenter!! I'm really glad you enjoyed my video! I would really appreciate if you could share with your classmates or kindly subscribe ~ you can find all of my CS videos in this link: ru-vid.com/group/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC
@vijei8963
@vijei8963 10 месяцев назад
Thank you so much!
@QuocDatPhung
@QuocDatPhung 10 месяцев назад
Thanks Vijei! You can find all of my Algorithms videos in this playlist: ru-vid.com/group/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC
@net.navigator
@net.navigator Месяц назад
the legend. thx man
@QuocDatPhung
@QuocDatPhung Месяц назад
Thanks Net Navigator! Please kindly share with your friends and subscribe to support me (it means a lot) ~ you can find all of my CS videos in this link: ru-vid.com/group/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC
@soadscars4527
@soadscars4527 10 месяцев назад
Thank You
@QuocDatPhung
@QuocDatPhung 10 месяцев назад
You're welcome! Please kindly subscribe! As well, you can find all of my Algorithms videos in this playlist: ru-vid.com/group/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC
@lalith_kumar_akhila2411
@lalith_kumar_akhila2411 Год назад
Saved my time 🎉 Appreciate it
@QuocDatPhung
@QuocDatPhung Год назад
You're very welcome LalithKumar! Please kindly subscribe, it means a lot! Also, you can find the rest of my Data Structures and Algorithms videos here: ru-vid.com/group/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC
@lalith_kumar_akhila2411
@lalith_kumar_akhila2411 Год назад
@@QuocDatPhung sure 😊
@QuocDatPhung
@QuocDatPhung Год назад
@@lalith_kumar_akhila2411 Oh I forgot to mention, if you are taking Dynamic Programming (Analysis of Algorithms) which is a different course from Data Structures, here is the playlist for that course: ru-vid.com/group/PLeTO6OT3-FKl-_EkIipoUmctPhvqiVPtY
@lalith_kumar_akhila2411
@lalith_kumar_akhila2411 Год назад
@@QuocDatPhung Thank you, I'll go through it
@marcugusan8222
@marcugusan8222 Год назад
👍
@QuocDatPhung
@QuocDatPhung Год назад
Thanks Marcu! Please subscribe and share with your classmates :)
@aoyukialquen2835
@aoyukialquen2835 9 месяцев назад
i have a question, why when i=j, we just fill it up with 0? can someone break it down for me please?
@QuocDatPhung
@QuocDatPhung 9 месяцев назад
It's over 2 years since I've taken this course but let's say i = 1 and j = 2. Then this means you're finding the minimal cost multiplying matrix 1 and matrix 2 right? Let's say that matrix 1 multiply matrix 2 costs 30, whereas matrix 2 multiply matrix 1 costs 20. Now, consider i = j. Here you only have 1 matrix. Nothing to multiply to. Therefore, the cost is 0. Let me know if that makes sense.
@aoyukialquen2835
@aoyukialquen2835 9 месяцев назад
@@QuocDatPhung ​ thank you very much sir, what about the reason we ignore m[2,1] ; m[3,2] etc? I'm sorry if I ask too much, I just want to understand... thank you in advance sir :)
@QuocDatPhung
@QuocDatPhung 9 месяцев назад
@@aoyukialquen2835 No worries! Now remember m(2,2) = 0 right? Because there is no cost when you only have a matrix 2 and matrix 2 only. Since there is only one matrix, there is nothing to multiply to so m(2,2) = 0. Now, what about m(2,1)? There wouldn't be any matrix to consider at all. That's why it's left blank. Let me know if that makes sense.
@aoyukialquen2835
@aoyukialquen2835 9 месяцев назад
@@QuocDatPhung thank you sir, your video and explanation helped me, please keep going with the youtube videos, i support your channel! God bless you
@QuocDatPhung
@QuocDatPhung 9 месяцев назад
@@aoyukialquen2835 Thank you for your support! You can also find all of my algorithm videos here: ru-vid.com/group/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC
@badAtPickingUsernames1988
@badAtPickingUsernames1988 Год назад
At 5:45 how do we know 138 is the minimum cost?
@QuocDatPhung
@QuocDatPhung Год назад
Once you complete the table using the formula, the top right value is always the minimum cost. That is how the algorithm works. The proof for the algorithm is long and complex, so it's best just to know that the top right value is the minimum cost. Let me know if that helps.
@badAtPickingUsernames1988
@badAtPickingUsernames1988 Год назад
@@QuocDatPhung Yes. Thank you!
@iTube4U
@iTube4U 4 месяца назад
Are u rep,ying with auto reply?
@QuocDatPhung
@QuocDatPhung 4 месяца назад
Nope. I always redirect people to my CS playlist. Sometimes people watch something like Selection sort and they ask if I can explain QuickSort but they don't know that I already made it, in the playlist.
@iTube4U
@iTube4U 4 месяца назад
thank you or this, by the last 1,4 I did it my self
@QuocDatPhung
@QuocDatPhung 4 месяца назад
You're welcome iTube! Please kindly share and subscribe~ you can find all of my CS videos in this link: ru-vid.com/group/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC
@KhoiNguyen-et1uw
@KhoiNguyen-et1uw 10 месяцев назад
Jesus bro, thanks a ton
@QuocDatPhung
@QuocDatPhung 10 месяцев назад
You're very welcome Khoi! You can find all of my Algorithm videos here: ru-vid.com/group/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC
@nomankhan7190
@nomankhan7190 9 месяцев назад
WellDone.
@QuocDatPhung
@QuocDatPhung 9 месяцев назад
Thanks Noman! If you enjoy my Algorithm videos, you can find the rest of them here: ru-vid.com/group/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC
@coolestclipsontheinternet
@coolestclipsontheinternet 2 месяца назад
simple enough
@QuocDatPhung
@QuocDatPhung Месяц назад
Thank you! Please kindly share with your friends and subscribe to support me (it means a lot) ~ you can find all of my CS videos in this link: ru-vid.com/group/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC
@zihanzhou5812
@zihanzhou5812 Год назад
Good
@QuocDatPhung
@QuocDatPhung Год назад
Thanks Zihan! Please kindly subscribe. You can find the rest of my Algorithm videos here: ru-vid.com/group/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC
@ethanhyde3872
@ethanhyde3872 4 месяца назад
Better than Abdul!
@QuocDatPhung
@QuocDatPhung 4 месяца назад
Thank you Ethan! Pleased kindly share and subscribe~ you can find all of my CS videos in this link: ru-vid.com/group/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC
@SaraKhan-zk8ep
@SaraKhan-zk8ep 2 месяца назад
Best best best 🥹🤌
@QuocDatPhung
@QuocDatPhung Месяц назад
Thanks Sara Khan! Please kindly share with your friends and subscribe to support me (it means a lot) ~ you can find all of my CS videos in this link: ru-vid.com/group/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC
@SaraKhan-zk8ep
@SaraKhan-zk8ep Месяц назад
@@QuocDatPhung I'll surely watch the playlist 😊😊
Далее
4.3 Matrix Chain Multiplication - Dynamic Programming
23:00
Cool Wrap! My Book is OUT 🥳
00:27
Просмотров 2 млн
Matrix Chain Multiplication - Dynamic Programming
31:01
Matrix Chain Multiplication
11:08
Просмотров 445 тыс.
Longest Common Subsequence | Dynamic Programming
5:59
Просмотров 1,1 тыс.
Matrix Chain Multiplication | GeeksforGeeks
11:32
Просмотров 53 тыс.