自定义博客皮肤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)
  • 收藏
  • 关注

转载 Lintcode407 Plus One solution 题解

【题目描述】 Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most significan...

2018-03-16 11:27:00 112

转载 Lintcode406 Minimum Size Subarray Sum solution 题解

【题目描述】 Given an array of n positive integers and a positive integer s, find the minimal length of a subarray of which the sum ≥ s. If there isn't ...

2018-03-15 15:45:00 118

转载 Lintcode405 Submatrix Sum solution 题解

【题目描述】 Given an integer matrix, find a submatrix where the sum of numbers is zero. Your code should return the coordinate of the left-up and right...

2018-03-14 18:40:00 124

转载 Lintcode408 Add Binary solution 题解

【题目描述】 Given two binary strings, return their sum (also a binary string). 给定两个二进制字符串,返回他们的和(用二进制表示)。 【题目链接】 www.lintcode.com/en/problem/add-bin...

2018-03-13 13:49:00 103

转载 Lintcode402 Continuous Subarray Sum solution 题解

【题目描述】 Given an integer array, find a continuous subarray where the sum of numbers is the biggest. Your code should return the index of the first ...

2018-03-12 23:46:00 128

转载 Lintcode401 Kth Smallest Number in Sorted Matrix solution 题解

【题目描述】 Find thekth smallest number in at row and column sorted matrix. 在一个排序矩阵中找从小到大的第k个整数。 排序矩阵的定义为:每一行递增,每一列也递增。 【题目链接】 www.lintcode.com/...

2018-03-09 14:17:00 75

转载 Lintcode400 Maximum Gap solution 题解

【题目描述】 Given an unsorted array, find the maximum difference between the successive elements in its sorted form. Return 0 if the array contains le...

2018-03-08 17:07:00 102

转载 Lintcode399 Nuts & Bolts Problem solution 题解

【题目描述】 Given a set ofnnuts of different sizes andnbolts of different sizes. There is a one-one mapping between nuts and bolts. Comparison of a...

2018-03-07 22:21:00 269

转载 Lintcode374 Spiral Matrix solution 题解

【题目描述】 Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in spiral order. 给定一个包含mxn个要素的矩阵,(m行,n列),按照螺旋顺序,返回该矩...

2018-03-06 16:38:00 75

转载 Lintcode379 Reorder array to construct the minimum number solution 题解

【题目描述】 Construct minimum number by reordering a given non-negative integer array. Arrange them such that they form the minimum number. Notice:The...

2018-03-05 22:37:00 118

空空如也

空空如也

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

TA关注的人

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