2235. Add Two Integers
Description
Difficulty: Easy
Related Topics: Math
Given two integers num1
and num2
, return the sum of the two integers.
Example 1:
1 | Input: num1 = 12, num2 = 5 |
Example 2:
1 | Input: num1 = -10, num2 = 4 |
Constraints:
-100 <= num1, num2 <= 100
Hints/Notes
- N/A
Solution
Language: Java
1 | class Solution { |