Leetcode / 2235. Add Two Integers
Pick a programming language:
Here is the source code for the solution to this problem.
class Solution {
public:
int sum(int num1, int num2) {
return num1 + num2;
}
};
func sum(num1 int, num2 int) int {
return num1 + num2
}
class Solution {
public int sum(int num1, int num2) {
return num1 + num2;
}
}
Did you like the lesson? 😆👍
Consider a donation to support our work: