4 ms·
> Reversing a string I wonder: several comments are saying it hardly makes any sense to reverse a string but... Certainly there are useful algorithms out there
by TacticalCoder 6y ago
> Reversing a string
I wonder: several comments are saying it hardly makes any sense to reverse a string but... Certainly there are useful algorithms out there which do work by, at some point, reversing strings no!? I mean: not just for the sake of reversing it but for lookup/parsing or I don't know what.
- ChrisSD 6y agoSome parsing algorithms may want to reverse the bytes but that's different to reversing the order of user-perceived characters.