Coder's Cat

2020-02-05

## Challenge Description

Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string.

Example 1:

Example 2:

Note:

## Approach with simulation of multiply operation

Let’s take a input as example, the result string’s length will be less than num1.length + num2.length.

And remember to strip the leading zero in result.

Time complexity: $O(MN)$ where M and N is the lengths of two numbers.