Word Break
CodingOnsiteSoftware EngineerReported Aug, 2026
Company question banks are included with the Insider plan.
Given a string s and a dictionary of strings wordDict, return true if s can be segmented into a space-separated sequence of dictionary words.
You are allowed to reuse words in the dictionary...