A range that iterates over elements of the array from index i up to (excluding) index j.
Precondition: i <= j && j <= length
Complexity: O(1)
See Implementation