上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页
摘要: 1、 Given a collection of intervals, merge all overlapping intervals. 阅读全文
posted @ 2016-03-28 15:40 自朗活 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 1、 Given an array of integers, find a contiguous subarray which has the largest sum. Given the array [−2,2,−3,4,−1,2,1,−5,3], the contiguous subarray  阅读全文
posted @ 2016-03-23 17:37 自朗活 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 1、 Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthes 阅读全文
posted @ 2016-03-22 17:32 自朗活 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1、 Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in ZigZag-order. Given a matrix: return [1, 2, 5, 9, 6, 3, 阅读全文
posted @ 2016-03-22 17:27 自朗活 阅读(219) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页