JavaScript

43. Multiply StringsJavaScriptMister-Hope

Mister-Hope

simple

/*
 * Runtime: 88 ms, faster than 89.78% of JavaScript online submissions for Multiply Strings.
 *
 * Memory Usage: 38.6 MB, less than 5.35% of JavaScript online submissions for Multiply Strings.
 */

const multiply = (num1, num2) => (BigInt(num1) * BigInt(num2)).toString();