How can we multiply large integers quickly? (Karatsuba algorithm) - Inside code

preview_player
Показать описание

NB: This video is ad-free, you can choose to support Inside code by purchasing one of the courses above or dropping a super thanks!
NB2: Discounts of courses above are permanent

Рекомендации по теме
Комментарии
Автор

🔴
/ \
🔵—🔴
| |
🔴—🔵

insidecode
Автор

I believe there's a typo at 6:01 - the fifth line should say "(a+b)(c+d)-ac-bd"

Paul-vgvc
Автор

Jeez, you explain this very well. You don’t explain material in a generic way. Also, I love the animation.

markd
Автор

2 minutes in and i already have a much better understanding. absolute legend thank you!!

georgia
Автор

Really liked the tree visualtion, made it so much easier to understand.

gimmametdeboys
Автор

this is a very well done video, the animation and the color palate are really smooth and the explanation is clear as day. Subscribed.

richardtobing
Автор

This is amazing!! I learnt so much not just about the algorithm, but key concepts like merge sort, masters method and more. I'm waiting for the day you blow up 🔥 def sending this one to my friends

ryansamarakoon
Автор

We need more such videos
Your channel is getting addictive ❤

richardpro
Автор

Best explanation of karatsuba algorithm.

pirateboygaming
Автор

This is some high quality material. Really appreciate it.

markocastillo
Автор

this is a very well done video, the animation and the color palate are really smooth and the explanation is clear as day.

yaswanthnani
Автор

Hi, PLEASE create more videos like this and Also add videos to playlist for easy lookup. Really appreciate it. Algo/problems related to Data science would be great as well.

kshitijzutshi
Автор

I never knew that there is another algorithm to multiply. Thanks for increasing my knowledge 😍😍🥰🙏✌️

someoneunknown
Автор

Apart from good explanation. The entire presentation is also so satisfying and I can see u put a lot of work behind it. Do more of them we will keep supporting you sir.

gorantlakarthik
Автор

Some feedback about calculating the time complexity

you say, the return statement has complexity O(n) but if you observe closely, the whole return statement is filled with O(1) operations,

I think the function "ad_plus_bc" has complexity of T(n/2)+O(n), because it has a subtraction operation, subtracting/adding has complexity of O(n)

The overall expression of complexity is correct.

T(n) = 3T(n/2) + O(n) + O(1), where O(1) can be ignored in the presence of O(n)

saqlainsajid
Автор

thanks for the video explaination.
also, note that 1.58 is read as one point five eight, not one point fifty eight.

harshmangalamverma
Автор

This tip seems very helpful. Thank you for sharing

modysy
Автор

Exactly what I was looking for
Thanks !

antoine
Автор

Ur explanation is very clear i hope to make more videos about unknown topics in computer science
well done bro .

BELLAOUAR_Mahmoud
Автор

Thank you so much, been looking for ways to make my multiplication more efficient

polishane