摘要:        
Given a collection of intervals, merge all overlapping intervals. Example 1: Example 2: 题意 合并重合的闭区间 题解 1 bool operator <(const Interval& a, const Inte    阅读全文
posted @ 2019-02-08 19:34
TobicYAL
阅读(134)
评论(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-08 17:47
TobicYAL
阅读(150)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. Example 1: Example 2: 题意 顺时针螺旋输出数组 题解 1 class    阅读全文
posted @ 2019-02-08 17:37
TobicYAL
阅读(193)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. Example: Foll    阅读全文
posted @ 2019-02-08 17:08
TobicYAL
阅读(145)
评论(0)
推荐(0)
        
            
        
        
摘要:        
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return the     阅读全文
posted @ 2019-02-08 16:32
TobicYAL
阅读(181)
评论(0)
推荐(0)
        
            
        
        
摘要:        
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return all     阅读全文
posted @ 2019-02-08 16:25
TobicYAL
阅读(281)
评论(0)
推荐(0)
        
 
    
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号