摘要:        
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    阅读全文
        
            posted @ 2014-02-26 03:29
zhuli19901106
阅读(211)
评论(0)
推荐(0)
        
            
        
        
摘要:        
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 ...    阅读全文
        
            posted @ 2014-02-26 02:09
zhuli19901106
阅读(360)
评论(0)
推荐(0)
        
    
                    
                

浙公网安备 33010602011771号