Multiply two numbers represented by Linked Lists | GeeksforGeeks

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

Practice Problem Online Judge:

This video is contributed by Rahul Agarwal

Please Like, Comment and Share the Video among your friends.

Install our Android App:

Follow us on Facebook:

And Twitter:

Also, Subscribe if you haven't already! :)
Рекомендации по теме
Комментарии
Автор

I think you underestimated the problem. If number is represented in linked list then it is clear that number is very big. So should try to explain another solution which will not depend on size of number datatypes like (long long int in c++).

lifeOnTwoWheels_
Автор

How do you store numbers which are out of range?
How would you do it if ans was asked in modulo of

avinashchoubey
Автор

Hi sir! How to create a program that will multiply the individual items in a lisg by 2? Can you help?😊

arthurjaymasadao
Автор

Is this a joke??
What if the number is 1000 digits long.
Linked list can accomodate that, but no datatype avaiable in C++ can.
The main purpose of this problem is to return the product of such huge numbers.
If you store this linked list in a variable then multiply then didn't you change the question completely?

abhyaskanaujia