Python Algorithms
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已掌握 Python 基本语法、想系统补算法与复杂度分析的开发者
- 计算机专业学生,作为数据结构与算法课程的辅助参考书
- 准备技术面试、需要理解贪心、动态规划与图算法原理的人
- 喜欢边读边敲代码、用可运行示例验证算法思路的自学者
Not a good fit for
- 完全没有编程基础的入门读者,书中不介绍 Python 语法
- 只想背面试模板、不愿自己写证明与练习的速成者
- 专攻竞赛、需要高难度算法技巧与题解汇编的读者
Reading tips
- 先快速过一遍第1、2章,把渐近记法和图、树表示法这两块底子打牢,再进入后续章节。
- 建议对照书中代码在本地实现一遍,尤其第5至第9章的遍历、分治、贪心、记忆化和 Dijkstra,动手比阅读收益更大。
- 每章末的练习题至少完成一半,遇到卡壳先看书末附录 D 的习题提示,再回头看正文推导。
- 阅读第11章时不必强求证明,重点理解 NP 困难问题的判定思路与常见近似、启发式应对策略。
About the publisher
Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.
Contents
- Chapter 1 Introduction
- Chapter 2 Basics
- Chapter 3 Counting 101
- Chapter 4 Induction, Recursion, and Reduction
- Chapter 5 Traversal: The Skeleton Key of Algorithmics
- Chapter 6 Divide, Combine, and Conquer
- Chapter 7 Greed Is Good? Prove It!
- Chapter 8 Tangled Dependencies and Memoization
- Chapter 9 From A to B with Dijkstra and Friends
- Chapter 10 Matching, Cuts, and Flows
- Chapter 11 Hard Problems and (Limited) Sloppiness
- Appendix A Pedal to the Metal: Speeding Up Python
- Appendix B Some Famous Problems and Algorithms
- Appendix C Graph Theory Basics
- Appendix D Hints for Exercises
FAQ
这本书适合零基础学 Python 的人吗?
中文版对应英文原著的哪一版?
书里的代码用 Python 2 还是 Python 3?
这本书和《算法导论》《数据结构与算法:Python语言实现》有什么区别?
读完能达到什么水平?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.