It is the same as we do multiplication by hand. We can use a array/vector to store it. Then manipulate as we perform in hand. Error: Remember, the maximum length of the result is n_1 + n_2 + 1, not max(n_1, n_2) + 1 Updated: I want to simul
It is the same as we do multiplication by hand. We can use a array/vector to store it. Then manipulate as we perform in hand.
Error:
- Remember, the maximum length of the result is n_1 + n_2 + 1, not max(n_1, n_2) + 1
Updated:
I want to simulate it like normal multiply not like before, so we can directly set s[i + j + 1] not s[i + j] for low position, and s[i + j] for high position.