Skip to content

Latest commit

 

History

History
41 lines (37 loc) · 2.96 KB

File metadata and controls

41 lines (37 loc) · 2.96 KB

🔷 Add Challenge:

Challenge description

Write a function that returns the sum of two numbers.

Example

For param1 = 1 and param2 = 2, the output should be
solution(param1, param2) = 3.

Input/Output

  • [execution time limit] 4 seconds (js)

  • [memory limit] 1 GB

  • [input] integer param1

    Guaranteed constraints:
    -1000 ≤ param1 ≤ 1000.

  • [input] integer param2

    Guaranteed constraints:
    -1000 ≤ param2 ≤ 1000.

  • [output] integer

    The sum of the two inputs.

Solutions: