Cosmoteer Modding Documentation

Popular Posts

Monday, 30 January 2023

Leet Code: 2235. Add Two Integers

 Given two integers num1 and num2, return the sum of the two integers.


I don't think any company would ever ask for something so simple in their coding interview.


class Solution {
    public int sum(int num1, int num2) {
        int num3 = num1 + num2;
        return num3;
    }
}

No comments:

Post a Comment