Back to Questions

Word Break

42.7K viewsAsked at IBM
Medium

Question Explain

Given a string `s` and a dictionary `wordDict`, determine if `s` can be segmented into a space-separated sequence of one or more dictionary words.

Start Trying This Question Simulation

Practice answering orally or with text to get instant AI feedback.

Practice with This Question