We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dcdd0b commit bdc0624Copy full SHA for bdc0624
code/371. Sum of Two Integers/README.md
@@ -0,0 +1,6 @@
1
+# 371. Sum of Two Integers
2
+Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -.
3
+
4
+##### Example:
5
6
+Given a = 1 and b = 2, return 3.
code/371. Sum of Two Integers/index.js
@@ -0,0 +1,9 @@
+/**
+ * @param {number} a
+ * @param {number} b
+ * @return {number}
+ */
+//Distribution 38.99%,runtime 104ms
7
+var getSum = function(a, b) {
8
+ return a+b;
9
+};
0 commit comments