It is enough to check only half of the string because of symmetry

[?]
Nov 30, 2020, 9:02 PM
AUM6AXH7STLANROVT7FIK53VEJFLYBM7NW57Y2H5GVEEDPT75GDAC

Dependencies

Change contents

  • replacement in snippets/palindrome/palindrome.go at line 56
    [2.590][2.590:615]()
    for k, _ := range str {
    [2.590]
    [2.615]
    for k := 0; k < len(str)/2+1; k++ {