Identifying Magic Indexes in Arrays