There is an example confused me...Please, help if you can...


  • 0
    G

    If given the example s="aaaaaa",and the dict=["a","aa","aaa"],then does the result ["a a a a a a"] should be
    one of the total results?
    Infact, when I produced the result containing this, it told me "wrong answer".


Log in to reply
 

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