本文主要从架构以及请求处理流程的角度介绍 Python 的主流网页框架 Flask。
105. Construct Binary Tree from Preorder and Inorder Traversal
103. Binary Tree Zigzag Level Order Traversal
Problem
1 | Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and alternate between). |
The Rise Of Worse Is Better
Richard P. Gabriel 的 “The Rise Of Worse Is Better” 是计算机科学界中的经典文章。
它是 “Lisp: Good News, Bad News, How to Win Big.” 短文中的节录。
文章比较了软件设计中两种设计哲学:MIT/Stanford style 和 New Jersey style。
94. Binary Tree Inorder Traversal
Get to know Container
107. Binary Tree Level Order Traversal II
Problem
1 | Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root). |
celery 分布式任务队列
celery 是基于 分布式信息传递 的 异步任务队列。他主要应用于 实时任务,但也支持 定时任务 (使用 celery beat 作为 scheduler)。celery 简单,高效,可扩展 的优点使它成为最主流的 Python 分布式框架。
111. Minimum Depth of Binary Tree
Problem
1 | Given a binary tree, find its minimum depth. |