摘要: Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, determine if s can be segmented into a space-separated sequ 阅读全文
posted @ 2020-11-17 11:02 Sheanne 阅读(68) 评论(0) 推荐(0)
摘要: Given n, how many structurally unique BST's (binary search trees) that store values 1 ... n? Example: Input: 3 Output: 5 Explanation: Given n = 3, the 阅读全文
posted @ 2020-11-17 10:51 Sheanne 阅读(96) 评论(0) 推荐(0)
摘要: Given a string s, return the maximum number of unique substrings that the given string can be split into. You can split string s into any list of non- 阅读全文
posted @ 2020-11-17 10:31 Sheanne 阅读(144) 评论(0) 推荐(0)