One of the test cases has duplicates


  • 0
    A

    "You may assume no duplicates in the word list."

    Submission Result: Wrong Answer

    Input: "rat"
    "pen"
    ["rat","pen","pan","pet","pan","pat","ran"]

    "pan" appears twice!!


Log in to reply
 

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