Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
For example if I have an array
[0, 1, 2, 3, 4, ..., n]
and I want to iterate over it in an order like
[0, n, 1, n - 1, 2, n - 2, ..., n // 2]
how it can be called? Is there a general name for this?
Required, but never shown