I searched on google, I see no such generic language possibility.
The question in the blog didn't specify what language, so I am assuming it must be possible in every language.
Frankly reversing with a loop is challenging unless you cheat and make a second array.

































