- 博客(3)
- 收藏
- 关注
原创 Word Break II
Given a string s and a dictionary of words dict, add spaces in s to construct a sentence where each word is a valid dictionary word. Return all such possible sentences. For example, given s = "
2014-11-16 12:08:07 572
原创 Decode Ways
A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Given an encoded message containing digits, determine the total numb
2014-11-16 11:44:00 503
原创 Wildcard Matching
Implement wildcard pattern matching with support for '?' and '*'. '?' Matches any single character. '*' Matches any sequence of characters (including the empty sequence). The matching should cover t
2014-11-15 19:53:16 441
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人