Delete comment from: Javarevisited
J. Ernesto Aneiros said...
@SAURABH MAHESHWARI
Your solution implies a sorted array from low to high, even a sorted array in decrease order will fail and it will print only one missing value. The if could be simplify using not and the way you are declaring the array although is accepted by the compiler is not the clearer.
Oct 23, 2018, 1:43:16 PM
Posted to How to Find Missing Number on Integer Array of 1 to 100 - BitSet Example