自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

SparkSnail

https://github.com/SparkSnail

  • 博客(10)
  • 资源 (6)
  • 收藏
  • 关注

原创 LeetCode 167. Two Sum II - Input array is sorted

题目代码class Solution: def twoSum(self, numbers, target): """ :type numbers: List[int] :type target: int :rtype: List[int] """ left = 0; righ...

2018-07-10 02:22:44 239

原创 LeetCode 122. Best Time to Buy and Sell Stock II

题目代码class Solution: def maxProfit(self, prices): """ :type prices: List[int] :rtype: int """ count = 0 for i in range(1, len(prices)): ...

2018-07-10 02:21:41 177

原创 LeetCode 665. Non-decreasing Array

题目代码class Solution: def checkPossibility(self, nums): """ :type nums: List[int] :rtype: bool """ count = 0 for i in range(len(nums)): ...

2018-07-10 02:20:35 219

原创 LeetCode 392. Is Subsequence

题目代码class Solution: def isSubsequence(self, s, t): """ :type s: str :type t: str :rtype: bool """ i = 0; j = 0 index = 0 f...

2018-07-10 02:19:32 183

原创 LeetCode 605. Can Place Flowers

题目代码class Solution: def canPlaceFlowers(self, flowerbed, n): """ :type flowerbed: List[int] :type n: int :rtype: bool """ length = len(flo...

2018-07-10 02:18:29 181

原创 LeetCode 763. Partition Labels

题目代码class Solution: def partitionLabels(self, S): """ :type S: str :rtype: List[int] """ tmp_dict = {c:i for i, c in enumerate(S)} res_lis...

2018-07-10 02:17:24 184

原创 LeetCode 406. Queue Reconstruction by Height

题目代码class Solution: def insert(self, people, fromindex, toindex): tmp = people[fromindex] for i in range(toindex + 1, fromindex + 1)[::-1]: people[i] = people...

2018-07-10 02:16:15 174

原创 LeetCode 452. Minimum Number of Arrows to Burst Balloons

题目代码class Solution: def findMinArrowShots(self, points): """ :type points: List[List[int]] :rtype: int """ count = 0 i = 0; j = 0 end ...

2018-07-10 02:14:47 179

原创 LeetCode 435. Non-overlapping Intervals

题目思路贪心代码# Definition for an interval.# class Interval:# def __init__(self, s=0, e=0):# self.start = s# self.end = eclass Solution: def eraseOverlapIntervals(s...

2018-07-10 02:12:04 204

原创 LeetCode 455. Assign Cookies

题目思路贪心代码class Solution: def findContentChildren(self, g, s): """ :type g: List[int] :type s: List[int] :rtype: int """ g.sort() ...

2018-07-10 02:09:10 266

Hadoop技术内幕:深入解析HADOOP COMMON和HDFS架构设计与实现原理 目录完整版

网上其余的资源都没有目录或者目录不全,也不太清晰。这个版本是高清版本,而且有完整目录,放心下载。

2016-10-12

Hadoop技术内幕:深入解析HADOOP COMMON和HDFS架构设计与实现原理

《Hadoop技术内幕:深入解析HADOOP COMMON和HDFS架构设计与实现原理》,珍贵资源。

2016-10-12

Android客户端与服务器端的json数据交互 最全

Android客户端与服务器端的json数据交互(包括服务器代码 客户端代码和建表语句 代码最全

2015-03-13

老罗Android视频http协议开发包

老罗Android视频中http协议那一章视频用到的开发包,亲测可用。

2015-01-26

JDK API 1.6中文版CHM格式

JDK API1.6中文版,chm格式,无需安装,直接点击打开,亲测可用。

2015-01-26

空空如也

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

TA关注的人

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