自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

忧桑的小兔子

学习的总结,如有错误请大家指正,谢谢- -!...

  • 博客(56)
  • 资源 (8)
  • 收藏
  • 关注

原创 24 Python assert,Exception的异常信息为unicode的中文时

Python assert,Exception的异常信息为uicode的中文

2016-12-29 16:01:21 3301

原创 67 leetcode - First Missing Positive

First Missing PositiveGiven an unsorted integer array, find the first missing positive integer.

2016-12-28 19:59:51 430

原创 7.3 Python 模块搜索,加载和编译

介绍了Python中的模块搜索,加载和编译。

2016-12-27 21:01:35 740

原创 7.2 Python __name__,__main__

详细介绍了Python中的__name__变量与__main__以及之间的关系

2016-12-27 20:59:30 357

原创 7.1 Python 模块与import语句

详细介绍了模块的导入,主要包括import和from import 的原理和使用。

2016-12-27 20:57:05 1547

原创 66 leetcode - Partition List

Partition ListGiven a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.

2016-12-27 20:45:15 211

原创 65 leetcode - Climbing Stairs

Climbing StairsYou are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?

2016-12-27 20:44:03 214

原创 64 leetcode - Unique Paths II

Unique Paths IINow consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space is marked as 1 and 0 respectively in the grid.

2016-12-27 20:42:57 208

原创 63 leetcode - Unique Paths

Unique PathsA robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).The robot can only move either down or right at any point in time. The robot is trying to reach th

2016-12-27 20:41:17 223

原创 62 leetcode - Spiral Matrix II

Spiral Matrix IIGiven an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order.

2016-12-26 18:19:15 173

原创 61 leetcode - Spiral Matrix

Spiral MatrixGiven a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order.

2016-12-26 18:18:36 237

原创 60 leetcode - Length of Last Word

Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the last word does not exist, return 0.

2016-12-26 18:17:23 244

原创 59 leetcode - Add Binary

Add BinaryGiven two binary strings, return their sum (also a binary string).

2016-12-26 18:15:45 276

原创 58 leetcode - Plus One

Plus OneGiven a non-negative number represented as an array of digits, plus one to the number.

2016-12-25 20:02:17 270

原创 57 leetcode - Jump Game II

Jump Game IIGiven an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximum jump length at that position.

2016-12-25 19:48:12 241

原创 56 leetcode - Jump Game

Jump GameGiven an array of non-negative integers, you are initially positioned at the first index of the array.

2016-12-25 10:28:40 277

原创 23 Python class 抽象类

讲述了Python中的抽象类的使用以及示例.

2016-12-23 17:51:17 5160

原创 55 leetcode - N-Queens II

N-Queens IINow, instead outputting board configurations, return the total number of distinct solutions.八皇后问题

2016-12-23 15:44:53 447

原创 54 leetcode - N-Queens

N-QueensThe n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.八皇后问题

2016-12-23 15:37:31 349 1

原创 53 leetcode - Group Anagrams

Group Anagrams.Given an array of strings, group anagrams together.

2016-12-23 14:44:50 319

原创 22 Python class 深入理解Python中的元类(metaclass)

深入理解Python中的元类(metaclass)。详细介绍了元类的由来,使用方法,注意事项,案例等。

2016-12-23 11:38:32 1312

原创 52 leetcode - Multiply Strings

Multiply StringsGiven two numbers represented as strings, return multiplication of the numbers as a string.

2016-12-22 19:31:05 202

原创 51 leetcode - Minimum Size Subarray Sum

Minimum Size Subarray Sum 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 one, return 0 instead.

2016-12-21 22:56:07 401

原创 50 leetcode - Maximum Product Subarray

Maximum Product Subarray.Find the contiguous subarray within an array (containing at least one number) which has the largest product.

2016-12-21 19:18:02 280

原创 49 leetcode - Maximum Subarray

Maximum SubarrayFind the contiguous subarray within an array (containing at least one number) which has the largest sum.

2016-12-21 12:41:35 196

原创 48 leetcode - Combination Sum IV

Combination Sum IVGiven an integer array with all positive numbers and no duplicates, find the number of possible combinations that add up to a positive integer target.

2016-12-20 21:57:22 309

原创 47 leetcode - Combination Sum III

Combination Sum IIIFind all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be a unique set of numbers.

2016-12-20 21:52:22 302

原创 46 leetcode - 如何快速判断一个数是不是2的幂、3的幂、4的幂

快速判断一个数是不是2的幂,3的幂,4的幂.Power of Three,Power of Two,Power of Four

2016-12-19 13:58:54 2241

原创 45 leetcode - Rotate Function

Rotate FunctionGiven an array of integers A and let n to be its length.

2016-12-18 11:34:21 270

原创 44 leetcode - Rotate Array

Rotate ArrayRotate an array of n elements to the right by k steps.

2016-12-18 11:32:58 200

原创 43 leetcode - Rotate List

Rotate ListGiven a list, rotate the list to the right by k places, where k is non-negative.

2016-12-16 11:41:25 260

原创 42 leetcode - Rotate Image

Rotate ImageYou are given an n x n 2D matrix representing an image.Rotate the image by 90 degrees (clockwise)。

2016-12-16 11:37:47 189

原创 1 C调用Python环境搭建

C调用Python环境配置以及注意事项。

2016-12-16 11:27:04 541

原创 6.3 Python class 运算符重载

Python运算符重载.

2016-12-15 20:24:39 2212

原创 41 leetcode - Search a 2D Matrix II

Search a 2D Matrix IIWrite an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted in ascending from left to right....

2016-12-15 19:23:09 239

原创 40 leetcode - Search a 2D Matrix

Search a 2D Matrix Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted from left to right.

2016-12-15 19:20:58 212

原创 21 Python __del__

Python __del__

2016-12-14 21:43:54 519

原创 39 leetcode - Combination Sum II

Combination Sum IIGiven a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.

2016-12-14 09:34:53 209

原创 38 leetcode - Combination Sum

Combination Sum.Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.

2016-12-14 08:53:29 219

原创 37 leetcode - Count and Say

Count and Say The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...求第n个序列.

2016-12-13 16:54:30 294

jdk-8u121-linux-x64.tar.gz

适用于ubuntu x64,JDK8,解压版,解压之后配合环境变量即可使用,可参考这篇网址安装,https://www.cnblogs.com/thoughtful-actors/p/10419139.html PS:解压后记得修改bin/java的权限,改为777,默认是没有可执行权限的

2019-05-22

python boto

python中操作s3 包 boto3的使用事例,中文文档。 python中操作s3 包 boto3的使用事例,中文文档。

2018-05-16

PyQt4入门指南 PDF中文版

Python图形化开发中Pyqt4学习文档,详细介绍了PyQt4中每个组件的使用方法以及注意事项,系统的学习Python的图形化开发。

2017-09-23

thrift python example

使用thrift框架的Python事例

2017-06-10

Python源码解析

深入研究Python源码

2016-12-22

Python-Tkinter编程

Python自带模块Tkinter编程

2016-09-29

Python参考手册(第4版)

让你的Python更上一层楼的书籍

2016-09-29

空空如也

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

TA关注的人

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