I have been facing a problem developing an algorithm for an efficient numerical search. The scope of the problem is such: you have a sequence of numbers 1 - 1000 ,for example, one of the values is missing but you don't know which one. The problem is in designing an efficient algorithm that will identify the missing value. I have considered variation on a binary search technique but so far no luck. Any suggestions.
Thanks
Thanks