摘要:        
Given an input string, reverse the string word by word. For example,Given s = "the sky is blue",return "blue is sky the".click to show clarification.C...    阅读全文
posted @ 2015-01-05 07:44
LiBlog
阅读(161)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.For ...    阅读全文
posted @ 2015-01-05 07:33
LiBlog
阅读(154)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.For e...    阅读全文
posted @ 2015-01-05 07:04
LiBlog
阅读(228)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Given two words (start and end), and a dictionary, find the length of shortest transformation sequence from start to end, such that:Only one letter ca...    阅读全文
posted @ 2015-01-05 06:47
LiBlog
阅读(151)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example,"A man, a plan, a canal: Pan...    阅读全文
posted @ 2015-01-05 06:40
LiBlog
阅读(150)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors.OJ's undirected graph serialization:Nodes are labeled u...    阅读全文
posted @ 2015-01-05 06:09
LiBlog
阅读(145)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号