One testcase is wrong?


  • 0
    N

    Why the expected result does not contain aab?
    Help me please?!
    Input:
    ["ab","aa"]
    ["aba","baa","bab","aaab","aaa","aaaa","aaba"]
    Output:
    ["aaa","aaab","aba","aab","aaba","baa"]
    Expected:
    ["aaa","aaab","aaba","aba","baa"]


  • 0
    P

    The board contains aab, however aab is not a word in the input dictionary:

    ["aba","baa","bab","aaab","aaa","aaaa","aaba"]
    

Log in to reply
 

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