Coding Test

編輯歷史

時間 作者 版本
2019-10-24 05:49 – 06:19 Dken Chen r1 – r53
顯示 diff
- Untitled
+ Coding Test
+ Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, add spaces in s to construct a sentence where each word is a valid dictionary word. Return all such possible sentences.
- This pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!
+ Input: s = “kaiosinc”, wordDict = [“kaios”, “inc”]
+ Output: true
+
+ Input: s = "catsandog", wordDict = ["cats", "dog", "sand", "and", "cat"]
+ Output: false
+
+ *class Test(object):
+ * def __init__(self):
+ * pass
2019-10-24 05:49 (unknown) r0
顯示 diff
+ Untitled
+ This pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!