LeetCode #43 Multiply Strings (非负整数高精度乘法)

题目:

Given two numbers represented as strings, return multiplication of the numbers as a string.

Note: The numbers can be arbitrarily large and are non-negative.

 

分析:

任意长度非负整数乘法。

基本思路就是模拟用竖式手算乘法的过程。

注意处理进位和乘0的情况。

 

代码:

Java