自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

松鼠麒麟的专栏

技术菜鸟励志发奋图强用来督促自己的东西

  • 博客(28)
  • 收藏
  • 关注

原创 Java编程思想第2章:一切都是对象

如果想操作一个

2014-10-22 14:56:53 296

原创 LeetCode:Longest Common Prefix

class Solution: # @return a string def longestCommonPrefix(self, strs): if strs==[]: return '' else: l=len(strs[0]) base=strs[0]

2014-10-21 18:57:48 334

原创 LeetCode:Pow(x, n)

Implement pow(x, n).计算x的n次方。计算很容易,但是为了加快时间

2014-10-21 15:18:27 353

原创 LeetCode:Merge Sorted Array

You may assume that A has enough space (size that is greater or equal to m + n) to hold additional elements from B. The number of elements initialized in A and B are m andn respectively.

2014-10-20 19:10:01 361

原创 简单修复DHCP Client服务

刚家里的笔记本连接不上无线网,手机可以。一番捣鼓以后,fa

2014-10-20 00:20:36 6808

原创 LeetCode:Divide Two Integers

Divide two integers without using multiplication, division and mod operator.

2014-10-18 01:09:42 447

原创 LeetCode:Single Number II

class Solution: # @param A, a list of integer # @return an integer def singleNumber(self, A): l=[] x=0 minus=0 for i in range(32): l.append(0)

2014-10-16 17:28:33 297

原创 LeetCode:Reverse Words in a String

class Solution: # @param s, a string # @return a string def reverseWords(self, s): s=s.split() s.reverse() s=' '.join(s) return s

2014-10-15 23:47:59 577

原创 LeetCode:Minimum Depth of Binary Tree

Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node.

2014-10-15 23:46:44 295

原创 LeetCode:Best Time to Buy and Sell Stock

Say you have an array for which the ith element is the price of a given stock on day i.If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the stock),

2014-10-15 16:10:48 286

原创 LeetCode:Same Tree

# Definition for a binary tree node# class TreeNode:# def __init__(self, x):# self.val = x# self.left = None# self.right = Noneclass Solution: # @param p, a tre

2014-10-15 16:08:34 288

原创 LeetCode:Maximum Depth of Binary Tree

# Definition for a binary tree node# class TreeNode:# def __init__(self, x):# self.val = x# self.left = None# self.right = Noneclass Solution: # @param root, a

2014-10-15 16:06:14 312

原创 LeetCode:Sqrt(x)

Implement int sqrt(int x).Compute and return the square root of x.二分查找方法,

2014-10-15 15:58:50 277

原创 LeetCode:Single Number

Given an array of integers, every element appears twice except for one. Find that single one.Note:Your algorithm should have a linear runtime complexity. Could you implement it without using e

2014-10-15 15:57:59 279

原创 LeetCode:Reverse Integer

从同事那里知道了这个东西,

2014-10-15 15:51:09 283

原创 Python宝典第23章:多线程编程

Python3中,通过threading模块提供了对多线程编程的支持。

2014-10-10 19:47:56 444

原创 Python宝典第22章:Python扩展和嵌入

用C/C++扩展Python

2014-10-10 19:41:42 372

原创 Python宝典第21章:科学计算

NumPy和SciPy是Python中用以实现科学计算的

2014-10-10 17:28:08 557

原创 Python宝典第20章:功能强大的正则表达式

正则表达式是用某种mos

2014-10-08 17:02:36 424

原创 Python宝典第19章:处理HTML与XML

Python中可以使用html模块

2014-10-06 11:37:51 564

原创 Python宝典第18章:Python网络编程

Python的标准模块中,使用socket模块:

2014-10-04 22:40:22 766

原创 Python宝典第17章:Python Web应用

有很多基于Python的Web框架技术,如Plone,Django,Turbo

2014-10-04 16:29:08 386

原创 Python宝典第16章:Python与数据库

PythonWin中的odbc模块提供了对ODBC的支持。PythonWin中的dbi模块定义le

2014-10-04 11:09:27 583

原创 Python宝典第11-15章:GUI编写

书上一共介绍了5种方法

2014-10-03 17:11:39 599

原创 Python宝典第十章:系统编程

Python虽然是脚本语言,但是借助扩展后同样可以jinx

2014-10-03 13:37:30 472

原创 Python宝典第七章:异常处理与程序调试

try语句捕获异常:

2014-10-03 02:17:54 578

原创 Python宝典第六章:面向对象的Python

类的定义:class 类名(父类名:语句。。。

2014-10-03 02:17:18 377

原创 Python宝典第八、九章:Python多媒体编程及使用PIL处理图片

使用PyOpenGL绘制sanweitu

2014-10-03 01:39:44 1206

空空如也

空空如也

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

TA关注的人

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