摘要:        
class Solution: # @param {string} s # @return {string[]} def findRepeatedDnaSequences(self, s): ans = [] valCnt = dict() map = {'A' : 0, 'C' : 1, 'G':    阅读全文
posted @ 2017-04-27 12:27
yfceshi
阅读(128)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Spring的两个非常重要的功能ioc和aop 依赖反转:依赖对象的获得被反转;很多非凡的应用都是由两个或多个类通过彼此的合作来上线业务逻辑。这使得每一个对象都须要与其它对象合作,也就是说 一个对象获得其它对象的引用,这个被引用的对象就是被引用其的依赖,假设这个获取过程要考自身实现,那么非常自然的这    阅读全文
posted @ 2017-04-27 11:05
yfceshi
阅读(94)
评论(0)
推荐(0)
        
            
        
        
摘要:        
查找相邻同样字符串var found = false; function f(str){ if(found){return;} var len = str.length; var a = str.substring(0,len/2); var b = str.substring(len/2,len)    阅读全文
posted @ 2017-04-27 10:04
yfceshi
阅读(255)
评论(0)
推荐(0)
        
            
        
        
摘要:        
The Ball And Cups At the end of a busy day, The Chef and his assistants play a game together. The game is not just for fun but also used to decide who    阅读全文
posted @ 2017-04-27 08:52
yfceshi
阅读(330)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号