Maximum of Two Numbers
EasyAcceptance: N/A
Given two integers a and b, return the maximum of the two numbers.
Example 1:
Input: a = 5, b = 10
Output: 10
Explanation: 10 is greater than 5
Example 2:
Input: a = -3, b = -7
Output: -3
Explanation: -3 is greater than -7
Constraints:
- -1000 <= a, b <= 1000
Discussion
Please login to view and join the discussion.
Login to ContinueLoading...
Status:Not run yet
Run your code to see results