Array ( [0] => [1] => questions [2] => Basic [3] => Sum-of-Two-Numbers )
Given two integers. You have to find the sum of those two numbers.
First line contains two integers separated by space.
Returns the sum of two numbers.
1 3
4
5 7
12
10 12
22
Login to see Discussion
add the two numbers and return the result
Time Complexity: O(1)
Space Complexity: O(1)
Note :
Let us know if you can come up with a better approach, mail us at support@theinquisitive.in Your approach will be reviewed and posted with credits to you.
Login to see Solution