leetle

Daily challenge for 2025-01-04

4. Missing Number

Write a function solve that finds the missing number in a list of numbers from 0 to n. The list is missing one number.

Example:
Input: [3,0,1]
Output: 2

Run this challenge interactively in Python or JavaScript when the app loads.