Skip to main content
4 events
when toggle format what by license comment
Feb 1, 2016 at 12:59 comment added CiaPan That would require preparing a reversed copy of the input, and then comparing it to the original. The latter requires the same amount of work as comparing letter by letter from both ends toward the midpoint, so the former is a pure waste of effort.
Feb 1, 2016 at 12:57 comment added RubberDuck That's a sub-optimal approach to the problem. That means creating multiple copies of the string and doing a bunch of work that doesn't need to be done.
Feb 1, 2016 at 12:38 review First posts
Feb 1, 2016 at 12:57
Feb 1, 2016 at 12:34 history answered Phil CC BY-SA 3.0