摘要:
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 wor
阅读全文
posted @ 2025-04-07 19:05
ZhangZhihuiAAA
阅读(13)
推荐(0)
摘要:
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo
阅读全文
posted @ 2025-04-07 17:18
ZhangZhihuiAAA
阅读(11)
推荐(0)
摘要:
You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb
阅读全文
posted @ 2025-04-07 17:13
ZhangZhihuiAAA
阅读(9)
推荐(0)