I forgot, if you have the index of an element in a reversed collection, how do you get the element's index in its original collection? I haven't messed with those for years; and I always got semi-confused which way it goes.
(For the newbies, reverse collections still use their original's startIndex
and endIndex
, but in an off-by-one banner to prevent accessing illegal indexes.)