CTCI 5.7 find missing number