Daily challenge for 2025-09-26
269. Word Break
Given a string s and a dictionary of strings wordDict, return true if s can be segmented into a space-separated sequence of one or more dictionary words.
Example:Input: s = "leetcode", wordDict = ["leet","code"]Output: true
Explanation: Return true because "leetcode" can be segmented as "leet code".
Run this challenge interactively in Python or JavaScript when the app loads.