Please explain this input and output.I am confused with the meaning of the question.


  • 0
    Y

    why only output one "a". According to the describing,words can overlap with each other.
    Input:
    ["a"]
    ["a","a"]
    Output:
    ["a","a"]
    Expected:
    ["a"]


Log in to reply
 

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