参考http://www.cnblogs.com/TenosDoIt/p/3385644.html#commentform 1 #include 2 #include 3 #include 4 #include 5 6 using namespace std; 7 8 class Solution { 9 public: 10 vector wordBreak(string s, unordered_set &dict) 11 { 12 // Note: The Solution object is instantiated onl... Read More