Question about Brute force solution


  • 0
    S

    in the brute force solution provided, inside method word_Break()
    why does "res" need to be a LinkedList ?

    LinkedList<String> res = new LinkedList<>();


Log in to reply
 

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