会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Running, python Geek
博客园
首页
新随笔
联系
订阅
管理
2015年9月14日
hihocoder 1039 解题报告(python)
摘要: 1039_字符消除题目链接: http://hihocoder.com/problemset/problem/1039很久没刷题了赶紧刷点水题以免各种面试被bs题目大意:中文题目直接看题就懂思路:一时间也没有什么很好的感觉速度很快的思路,只好老老实实按照题目意思一步步的进行,还好能够AC.首先要考虑...
阅读全文
posted @ 2015-09-14 11:55 Jolin123
阅读(430)
评论(0)
推荐(0)
2015年9月1日
python数据结构学习笔记(九)
摘要: Priority Queues9.1 ADT9.2 implementing a priority queue用无序的list来实现用有序的列表来实现优先队列9.3 heapsheap数据结构使用堆来实现优先队列基于数组实现的完全二叉树使用最小优先队列来进行排序adaptable priority ...
阅读全文
posted @ 2015-09-01 19:07 Jolin123
阅读(638)
评论(0)
推荐(0)
2015年8月7日
python数据结构学习笔记(八)
摘要: 8 Trees8.1 general treestree ADT计算depth和height8.2 二叉树决策树二叉树 ADT8.3 Implementing Trees数组表示得二叉树8.4 树的遍历算法宽度优先遍历中序遍历二叉搜索树python实现树遍历8 Trees8.1 general tr...
阅读全文
posted @ 2015-08-07 15:43 Jolin123
阅读(798)
评论(0)
推荐(0)
2015年7月31日
using werkzeug to build a shorly url app
摘要: werkzeug构建'url shortly'应用0: basic wsgi1: creating the folders2: the base structure3: 环境4: routing5: first view6: redirect view7: detail viewwerkzeug构建...
阅读全文
posted @ 2015-07-31 16:08 Jolin123
阅读(274)
评论(0)
推荐(0)
2015年7月30日
with: __enter__ and __exit__
摘要: 要使我们的对象支持with语句,必须为它实现 __enter__和__exit__方法。先看一个例子:from socket import socket, AF_INET, type=SOCK_STREAMclass lazyConnection: def __init__(self, add...
阅读全文
posted @ 2015-07-30 15:51 Jolin123
阅读(261)
评论(0)
推荐(0)
fresh in werkzeug
摘要: hello world WSGI appWSGI应用WSGI环境用environ参数创建Request请求Responseshello world WSGI appdef application(environ, start_response): start_response( ...
阅读全文
posted @ 2015-07-30 15:06 Jolin123
阅读(229)
评论(0)
推荐(0)
2015年7月28日
webpy上传文件
摘要: 上传文件保存上传的文件上传文件import weburls = ( '/upload', 'Upload',)class Upload: def GET(self): return """ ...
阅读全文
posted @ 2015-07-28 18:00 Jolin123
阅读(2358)
评论(0)
推荐(0)
2015年7月11日
python数据结构学习笔记(七)
摘要: 7 Linked Lists7.1 singly linked list7.2 circular linked lists7.4 the positional list ADT7.5 sorting a positional list7.6 链表与数组实现的序列比较7 Linked Lists7.1...
阅读全文
posted @ 2015-07-11 20:52 Jolin123
阅读(1139)
评论(0)
推荐(0)
2015年7月9日
python数据结构学习笔记(五)
摘要: 5 Array-Based Sequence5.2.1 referential arrays5.2.2 compact arrays in pythonarray.array5.3 dynamic arrays and amortization5.3.1 implementing a dynamic...
阅读全文
posted @ 2015-07-09 10:57 Jolin123
阅读(1521)
评论(1)
推荐(0)
2015年6月10日
common Lisp学习笔记(十四)
摘要: 14 Macrostoolkit: ppmx14.4 defining a macro14.5 macros as syntactic extensions14.6 backquote14.7 splicing with backquote设计宏14.8 complier14.9 compilati...
阅读全文
posted @ 2015-06-10 08:12 Jolin123
阅读(1459)
评论(0)
推荐(0)
下一页
公告