Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array.
I: [0, 1, 3] O: 2
Last updated 6 years ago