摘要:        
Given a sorted array nums, remove the duplicates in-place such that duplicates appeared at most twice and return the new length. Do not allocate extra    阅读全文
posted @ 2019-02-15 17:49
TobicYAL
阅读(172)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "adjac    阅读全文
posted @ 2019-02-15 17:20
TobicYAL
阅读(152)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Given a set of distinct integers, nums, return all possible subsets (the power set). Note: The solution set must not contain duplicate subsets. Exampl    阅读全文
posted @ 2019-02-15 16:13
TobicYAL
阅读(140)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. Example: 题意 在1到n中取k个数的所有情况 题解 1 class Solution { 2 public: 3    阅读全文
posted @ 2019-02-15 15:45
TobicYAL
阅读(126)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). Example: Note: If there i    阅读全文
posted @ 2019-02-15 15:16
TobicYAL
阅读(127)
评论(0)
推荐(0)
        
 
    
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号