Find Missing Number

Easy

📝 Description

Find the missing number in a sequence from 1 to n

Input Format

A list of integers from 1 to n with one missing number

Output Format

The missing number

Constraints

List length ≤ 100

🔍 Sample Input

1 2 4 5
            

✅ Sample Output

3
            

Code Editor

Please login to run and submit code.

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