1.
首先下载官方GO語言安装包:https://code.google.com/p/go/wiki/Downloads?tm=22. 设置
GOPATH在任意磁盘根目录新建一个文件夹,名字随意,这个将会是我们的工作目录,像我把它命名为 @Go@Go
目录下新建三个目录:binpkgsrc之后在“计...
原题地址:https://oj.leetcode.com/problems/merge-k-sorted-lists/题意:Mergeksorted
linked lists and return it as one sorted list. Analyze and describe its com...
分类:
编程语言 时间:
2014-06-11 21:57:07
阅读次数:
399
http://geeklu.com/2010/10/getting-started-with-npapi-plugin/2012-10-10
更新:https://code.google.com/p/chromium/issues/detail?id=139816Chrome22之后貌似完全放弃10...
Heroku团队根据heroku platform
api和他们自己内部系统的实践经验总结了一些http
api设计的准则,发布到了github上。地址:https://github.com/interagent/http-api-design鉴于见到太多公司的http接口没有按照标准规范来实施,推...
原题地址:https://oj.leetcode.com/problems/search-insert-position/题意:Given
a sorted array and a target value, return the index if the target is found. If
n...
分类:
编程语言 时间:
2014-06-11 11:28:40
阅读次数:
349
原题地址:https://oj.leetcode.com/problems/plus-one/题意:Given
a non-negative number represented as an array of digits, plus one to the
number.The digits are...
分类:
编程语言 时间:
2014-06-11 11:25:27
阅读次数:
304
原题地址:https://oj.leetcode.com/problems/rotate-image/题意:You
are given annxn2D matrix representing an image.Rotate the image by 90 degrees
(clockwise).Fo...
分类:
编程语言 时间:
2014-06-11 09:43:59
阅读次数:
1264
让我纠结了一天多的问题,给大家看下,有相同情况的可以不用浪费时间了,本人当时找了好半天都没找到什么有用的信息,项目在本地没有问题,但部署在服务器后,获取不到https页面的信息,加入下面的代码就可以了,因为iis7.5的安全协议比较高的原因。我的获取页面需要cookie,不需要的可以去掉;GET的方...
分类:
Web程序 时间:
2014-06-11 09:41:22
阅读次数:
351
原题地址:https://oj.leetcode.com/problems/powx-n/题意:Implement
pow(x,n).解题思路:求幂函数的实现。使用递归,类似于二分的思路,解法来自Mark Allen Weiss的《数据结构与算法分析》。代码:class
Solution: #...
分类:
编程语言 时间:
2014-06-11 08:59:33
阅读次数:
317
原题地址:https://oj.leetcode.com/problems/edit-distance/题意:Given
two wordsword1andword2, find the minimum number of steps required to
convertword1toword2....
分类:
编程语言 时间:
2014-06-11 08:58:49
阅读次数:
293