See More

public class Solution { public String multiply(String num1, String num2) { // Start typing your Java solution below // DO NOT write main() function if(num1.equals("0") || num2.equals("0")){ return "0"; } int res[] = new int[num1.length()+num2.length()]; int l3 = num1.length()+num2.length()-1; int l2 = num2.length()-1; int l1 = num1.length()-1; for(int i=0;i