摘要:        
Given two non-negative integers x and y, an integer is powerful if it is equal to x^i + y^j for some integers i >= 0 and j >= 0. Return a list of all     阅读全文
posted @ 2019-01-11 19:34
yuxihong
阅读(234)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Two images A and B are given, represented as binary, square matrices of the same size. (A binary matrix has only 0s and 1s as values.) We translate on    阅读全文
posted @ 2019-01-11 17:29
yuxihong
阅读(190)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Let's play the minesweeper game (Wikipedia, online game)! You are given a 2D char matrix representing the game board. 'M' represents an unrevealed min    阅读全文
posted @ 2019-01-11 15:22
yuxihong
阅读(160)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Given an array A, we can perform a pancake flip: We choose some positive integer k <= A.length, then reverse the order of the first k elements of A. W    阅读全文
posted @ 2019-01-11 14:38
yuxihong
阅读(222)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号