type
status
date
slug
summary
tags
category
icon
password
题目
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.Note that the same word in the dictionary may be reused multiple times in the segmentation.
Example 1:
Example 2:
解题思路
- 作者:Thomas He
- 链接:https://notion-next-lovat-ten.vercel.app/article/problems/leetcode/139
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。