摘要:        
Implement pow(x, n), which calculates x raised to the power n (xn). Example 1: Example 2: Example 3: Note: -100.0 < x < 100.0 n is a 32-bit signed int    阅读全文
posted @ 2019-02-07 20:26
TobicYAL
阅读(184)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Given an array of strings, group anagrams together. Example: 题意 把由相同字母出现相同次数组成的字符串归到一起(数据可能重复) 题解 一开始我当成了任何一种字母只会出现一次做了,用的是long型作二进制用,自然WA了,其实后来可以用字符串    阅读全文
posted @ 2019-02-07 19:17
TobicYAL
阅读(154)
评论(0)
推荐(0)
        
            
        
        
摘要:        
You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Note: You have to rotate the image in-place, which    阅读全文
posted @ 2019-02-07 18:28
TobicYAL
阅读(177)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Given a collection of numbers that might contain duplicates, return all possible unique permutations. Example: 1 class Solution { 2 public: 3 vector<v    阅读全文
posted @ 2019-02-07 17:36
TobicYAL
阅读(153)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Given a collection of distinct integers, return all possible permutations. Example: 1 class Solution { 2 public: 3 void build(vector<bool>visited, vec    阅读全文
posted @ 2019-02-07 17:33
TobicYAL
阅读(149)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maxim    阅读全文
posted @ 2019-02-07 17:02
TobicYAL
阅读(265)
评论(0)
推荐(0)
        
 
    
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号