Confused about the Expected answer


  • 0
    S

    I just wonder why my answer is wrong. I think my result is a valid one.

    Input:
    "hit"
    "cog"
    ["hot","dot","dog","lot","log"]
    Output:
    [["hit","hot","dot","dog","cog"],["hit","hot","lot","log","cog"]]
    Expected:
    []


Log in to reply
 

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