How would the empty array be implemented: all positions of the array are zero, or there isn't an array at all?
In Bentley, there are examples where if the element is not found, the value of P, which is the variable to be returned depicting whether the integer was found, is zero when it isn't found. Will this cause a conflict with the empty array?
|
You choose the representation by Mike O'Donnell, 2000, Oct 23
to: