摘要:
Interleaving String2014.2.26 02:48Givens1,s2,s3, find whethers3is formed by the interleaving ofs1ands2.For example,Given:s1="aabcc",s2="dbbca",Whens3="aadbbcbcac", return true.Whens3="aadbbbaccc", return false.Solution1: This problem can be solved with DFS, bu 阅读全文
摘要:
Gas Station2014.2.26 00:34There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You have a car with an unlimited ... 阅读全文