Easy
Quiz
#268 Missing Number
APPROACH
You are given an array nums containing n distinct integers, each in the range [0, n]. Exactly one value from that range is absent from the array. Find and return it.
1 of 4
1:00
What is the optimal approach for this problem?