News for hackers. Stuff that matters.
Re:Become a Better Programmer by Taking a Shower by ralferoo on Friday April 21, 2023 @06:44AM (#35651949)
> What they should be asking you is to show the most optimal way to reverse the array, which is to find a popular highly optimised library and use that, one that is also likely to be far less buggy.

The most optimal way is not to reverse the array at all, but instead index it in reverse later in the code when it's used.

There are no comments on this comment yet.