Recursive List Sum

Easy

📝 Description

Compute sum of a list using recursion

Input Format

List of numbers

Output Format

Sum of numbers

Constraints

List size ≤ 1000

🔍 Sample Input

1 2 3 4
            

✅ Sample Output

10
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run