Missing From Sequence

Find the missing number from a sequence of numbers.

Easy1/10/2024

Problem statement

Given an array of n-1 integers in the range from 0 to n, find the one number that is missing from the sequence.

Problem leaderboard

#
Size
%
Users
#1
28 c.
Top 5%
lydxn
#2
29 c.
Top 9%
tree
#3
30 c.
Top 23%
voytxt
Natanaelel
Shanethegamer
#4
31 c.
Top 32%
AlephSquirrel
JoKing
#5
32 c.
Top 36%
sean
#6
34 c.
Top 41%
Thomasdcrt
#7
36 c.
Top 50%
CorentinTh
maximec-indy
#8
39 c.
Top 55%
marc-indy
#9
41 c.
Top 64%
scpchicken
davyboyh
#10
42 c.
Top 73%
CatsAreFluffy
KrausRaus
#11
45 c.
Top 77%
fuzzylojik-golf
#12
48 c.
Top 82%
val
#13
52 c.
Top 86%
Pascal
#14
54 c.
Top 95%
ComputerKWasTaken
Tony
#15
62 c.
Top 100%
TooBusyForYou