Skip to content

Commit e667886

Browse files
committed
Add solution #2235
1 parent 19fa98e commit e667886

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

2235-add-two-integers.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/**
2+
* 2235. Add Two Integers
3+
* https://leetcode.com/problems/add-two-integers/
4+
* Difficulty: Easy
5+
*
6+
* Given two integers num1 and num2, return the sum of the two integers.
7+
*/
8+
9+
/**
10+
* @param {number} num1
11+
* @param {number} num2
12+
* @return {number}
13+
*/
14+
var sum = function(num1, num2) {
15+
return num1 + num2;
16+
};

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@
298298
2114|[Maximum Number of Words Found in Sentences](./2114-maximum-number-of-words-found-in-sentences.js)|Easy|
299299
2129|[Capitalize the Title](./2129-capitalize-the-title.js)|Easy|
300300
2154|[Keep Multiplying Found Values by Two](./2154-keep-multiplying-found-values-by-two.js)|Easy|
301+
2235|[Add Two Integers](./2235-add-two-integers.js)|Easy|
301302
2244|[Minimum Rounds to Complete All Tasks](./2244-minimum-rounds-to-complete-all-tasks.js)|Medium|
302303
2427|[Number of Common Factors](./2427-number-of-common-factors.js)|Easy|
303304
2469|[Convert the Temperature](./2469-convert-the-temperature.js)|Easy|

0 commit comments

Comments
 (0)