Given two non-negative integers num1 and num2 rePResented as strings, return the product of num1 and num2.
Note:
The length of both num1 and num2 is < 110.Both num1 and num2 contains only digits 0-9.Both num1 and num2 does not contain any leading zero.You must not use any built-in BigInteger library or convert the inputs to integer directly.大数相乘。 为了解题思路清晰,我是自己模拟手工相乘的方法做的。具体见代码注释。
新闻热点
疑难解答