自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

转载 Lintcode203 Segment Tree Modify solution 题解

【题目描述】 For a Maximum Segment Tree, which each node has an extra value max to store the maximum value in this node's interval. Implement a modi...

2018-01-29 09:43:00 62

转载 Lintcode202 Segment Tree Query solution 题解

【题目描述】 For an integer array (index from 0 to n-1, where n is the size of this array), in the corresponding Segment Tree, each node stores an ex...

2018-01-28 09:22:00 90

转载 Lintcode200 Longest Palindromic Substring solution 题解

【题目描述】 Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of Sis 1000, and there exists one ...

2018-01-27 08:13:00 74

转载 Lintcode196 Find the Missing Number solution 题解

【题目描述】 Given an array containsNnumbers of 0 ..N, find which number doesn't exist in the array. 给出一个包含 0 ..N中N个数的序列,找出0 ..N中没有出现在序列中的那个数。 【题...

2018-01-26 08:24:00 104

转载 Lintcode187 solution 题解

【题目描述】 There areNgas stations along a circular route, where the amount of gas at stationiis gas[i]. You have a car with an unlimited gas tan...

2018-01-24 08:43:00 118

转载 Lintcode186 Max Points on a Line solution 题解

【题目描述】 Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line. 给出二维平面上的n个点,求最多有多少点在同一条直线上。 【题目链接】...

2018-01-21 07:46:00 62

转载 Lintcode185 Matrix Zigzag Traversal solution 题解

【题目描述】 Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in ZigZag-order. 给你一个包含mxn个元素的矩阵 (m行,n列), 求该矩阵的之字型遍历。 ...

2018-01-19 07:41:00 68

转载 Lintcode183 Wood Cut solution 题解

【题目描述】 Given n pieces of wood with lengthL[i](integer array). Cut them into small pieces to guarantee you could have equal or more than k piece...

2018-01-18 20:57:00 75

转载 Lintcode181 Flip Bits solution 题解

【题目描述】 Say you have an array for which theith element is the price of a given stock on dayi. Notice Bothnandmare 32-bit integers. 如果要将...

2018-01-17 15:10:00 86

转载 Lintcode180 Binary Representation solution 题解

【题目描述】 Given a (decimal -e.g.3.72) number that is passed in as a string, return the binary representation that is passed in as a string. If the...

2018-01-16 20:52:00 72

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除