leetcode-43-Multiply Strings

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zem_nezer/article/details/85087557

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:

  1. Remember, the maximum length of the result is n_1 + n_2 + 1, not max(n_1, n_2) + 1

猜你喜欢

转载自blog.csdn.net/zem_nezer/article/details/85087557
今日推荐