09 2015 档案

摘要:#! /usr/bin/env python ###### Linked List python implementation###### @reference Data Structures and Algorithm Analysis in C:Second Edition : Mark All... 阅读全文
posted @ 2015-09-30 11:24 hao.ma 阅读(382) 评论(0) 推荐(0)
摘要:今天写Python 看着没有问题 运行就各种问题 object has no attribute最后发现Vim 设置里面有个 tabstop 我设置的是4 应该设置成8 阅读全文
posted @ 2015-09-30 01:23 hao.ma 阅读(299) 评论(0) 推荐(0)
摘要:class Solution: # @param {integer[]} nums # @param {integer} target # @return {integer[]} def twoSum(self, nums, target): intLen=le... 阅读全文
posted @ 2015-09-27 23:56 hao.ma 阅读(133) 评论(0) 推荐(0)
摘要:# Gzip settings. gzip on; gzip_http_version 1.0;默认值是1.1 gzip_comp_level 6; #压缩级别,1压缩比最小处理速度最快,9压缩比最大但处... 阅读全文
posted @ 2015-09-14 11:59 hao.ma 阅读(542) 评论(0) 推荐(0)
摘要:#!/bin/sh#守护进程,接受2个参数#para CMD 执行的命令#pare ID 唯一标识改命令if [ "$1" = "" -o "$2" = "" ];then echo "USAGE:deamon.sh CMD ID" exit 100fi #创建文件夹mkdir -p .... 阅读全文
posted @ 2015-09-09 22:19 hao.ma 阅读(543) 评论(0) 推荐(0)
摘要:Follow upfor "Find Minimum in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-time complexity? How and why?Suppose a sort... 阅读全文
posted @ 2015-09-06 23:27 hao.ma 阅读(159) 评论(0) 推荐(0)

点击右上角即可分享
微信分享提示