Given an array of 99 unique numbers from 1-100, how do you determine the missing element?
Anonymous
There is a straight up mathematical solution in O(n) time, and a O(nlogn) algorithm involving a sort.
Check out your Company Bowl for anonymous work chats.