原题地址: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
Liskov Substitution Princple, LSPFor every
object "o1" from type "t1", there is object "o2" from type "t2", when all "o2"
is replaced with "o1" in pro...
分类:
其他好文 时间:
2014-06-11 08:52:44
阅读次数:
221
2008 年 11 月 27 日PyDev for Eclipse 是一个功能强大且易用的
Eclipse Python IDE 插件。本文将向读者介绍 PyDev 开源项目及其安装配置方法,并在此基础上详细介绍如何利用 PyDev 插件把
Eclipse 变为功能强大且易用的 Python IDE...
分类:
编程语言 时间:
2014-06-11 08:12:49
阅读次数:
435
viewfunction init_tree(product_name) { var
htmlobj=$.ajax({url: "get_all_file?param=" + param_value, async: false}); var
jsonNodes = htmlobj.respon...
分类:
Web程序 时间:
2014-06-11 08:03:40
阅读次数:
245
因學校習作需要而研究Python使用教材:Python3.4.1 Official
Documentation - The Python Standard LibraryChapter 1Basic Information of
Python1) Nature of Python: a high-l...
分类:
编程语言 时间:
2014-06-11 07:58:49
阅读次数:
218
pstree shows running processes as a tree. The tree
is rooted at either pid or init if pid is omitted. If a user name is specified,
all process trees r...
分类:
系统相关 时间:
2014-06-11 07:46:47
阅读次数:
522
一、安装第三方模块:MYSQLdb
1、地址:http://sourceforge.net/projects/mysql-python/
新的可用地址:https://pypi.python.org/pypi/MySQL-python/1.2.4 2、安装 安装前:(si...
分类:
数据库 时间:
2014-06-10 00:23:28
阅读次数:
372
Given amxngrid filled with non-negative
numbers, find a path from top left to bottom right whichminimizesthe sum of all
numbers along its path.Note:Yo...
分类:
其他好文 时间:
2014-06-07 20:22:17
阅读次数:
264
blog.csdn.net/lzueclipse/article/details/26405753#1536434-qzone-1-61807-cac534f6a16e831f54c45c717ec6acf9部署OpenStack
Swift 开发环境--SAIO - Swift All In On...
分类:
系统相关 时间:
2014-06-07 20:16:59
阅读次数:
419