Strings

    String Palindrome

    Two-pointer walk to check if a string reads the same forwards and backwards.

    string
    Start — L=0, R=6
    L
    R
    r
    a
    c
    e
    c
    a
    r
    0
    1
    2
    3
    4
    5
    6
    Step 0/6