Missing Number

Beginner
100 XP

Challenge Description

Find the missing number in an array of 0 to n values.

Examples

Example 1:

Input:

"[3,0,1]"

Output:

2
Example 2:

Input:

"[0,1]"

Output:

2

Languages

Challenge Stats

Total Attempts

0

Status