We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b0e0b9 commit 0adddf1Copy full SHA for 0adddf1
scripts/algorithms/A/Add Strings/Add Strings.java
@@ -1,6 +1,7 @@
1
+// Runtime: 19 ms (Top 29.95%) | Memory: 42.8 MB (Top 82.92%)
2
import java.math.BigInteger;
3
class Solution {
- public String addStrings(String num1, String num2) {
4
- return new BigInteger(num1).add(new BigInteger(num2)).toString();
5
- }
6
-}
+ public String addStrings(String num1, String num2) {
+ return new BigInteger(num1).add(new BigInteger(num2)).toString();
+ }
7
+}
0 commit comments