Test Cases & Chat
Part 1
current
Test 1
input:s = "leetcode", wordDict = ["leet","code"]
expect:true
Test 2
input:s = "applepenapple", wordDict = ["apple","pen"]
expect:true
Test 3
input:s = "catsandog", wordDict = ["cats","dog","sand","and","cat"]
expect:false
Part 2
locked
Part 3
locked
Choose your coach
Pick a style and how you want to communicate
then
Loading...
OUTPUT
Run code to see output...
Part 1
current
Test 1
input:s = "leetcode", wordDict = ["leet","code"]
expect:true
Test 2
input:s = "applepenapple", wordDict = ["apple","pen"]
expect:true
Test 3
input:s = "catsandog", wordDict = ["cats","dog","sand","and","cat"]
expect:false
Part 2
locked
Part 3
locked
Choose your coach
Pick a style and how you want to communicate
then