336. Palindrome Pairs


  • 1
    S

    Hello All,

    I really don't understand how 3,2 and 5,3 are not a pair
    Please help me understand

    Your input

    ["abcd","dcba","lls","s","sssll","s","ll"]
    Your answer

    [[0,1],[1,0],[3,2],[2,4],[5,2],[2,6],[3,5],[5,3],[6,4]]
    Expected answer

    [[0,1],[1,0],[2,6],[5,2],[3,5],[2,4],[6,4]]

    Thanks


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.