27/08/2026
Using std::reverse() gets the job done, but writing the two-pointer loop yourself hits different.
It’s easy to rely on built-in functions, but taking the time to write your own logic shows you actually get what’s happening under the hood. Plus, it’s just fun seeing how the STL works behind the scenes.
Which side are you on, std::reverse() or writing it yourself?
Let me know below! 👇