Assystem interview question

arraylist, binary search, missing number