Missing NumberFind the missing number in an array containing n distinct numbers taken from 0, 1, 2, ..., n.
Single NumberFind the single number that appears once in an array where every other number appears twice.