Python Common Algorithms Handbook (2nd Edition)
Tags
Summary
Editor's review
Who it's for
A good fit for
- Programming beginners who have just finished Python basics and want a systematic introduction to common algorithms
- Students who need to consolidate algorithm fundamentals for technical interviews or coursework
- Developers who use Python to solve real problems at work and want to strengthen their algorithmic thinking
- Self-learners who use algorithm books as references and need to look up common algorithm examples at any time
Not a good fit for
- Absolute beginners with no programming background and no exposure to Python syntax
- Experienced readers who have mastered competitive programming or advanced algorithms and seek deep theoretical derivations
- Readers who want theory only and are unwilling to write code or do exercises
Reading tips
- Read the table of contents first, study topic by topic, and implement each algorithm in Python as you learn it
- Think through a solution before reading the code, then compare it with the book's example and note any differences in approach
- After each chapter, do a few variation exercises to apply the algorithm to new problems and test your understanding
- Use the book as a reference: look up algorithms by category when specific problems arise instead of reading cover to cover
About the publisher
China Railway Publishing House has long centered on railway professional publishing while also covering rail transit, industrial technology, programming and design, finance and economics, and exam preparation, with about 194 relevant titles in the collection. Representative books include the Automated Operation (FAO) System for Urban Rail Transit, Design Innovation and Practice for Urban Rail Transit Vehicle Depots, Analysis and Application Management of the Level-One Maintenance Inspection Robot System for Electric Multiple Units, as well as engineering practice titles such as the Engineering Summary of the Guangdong Section of the Ganzhou–Shenzhen Railway and Safety Risk Control Technology and Typical Cases of Shield Tunneling in Beijing Urban Rail Transit Construction. Beyond technical monographs, the publisher also offers practical titles such as Python Programming Fundamentals and tax and accounting treatment for real estate development enterprises, with authors including He Peng, Tang Tao, Ding Shukui, and Sun Changjun. Based on public information, its publishing strength lies in drawing on line engineering and operational practice while balancing professional textbooks and general-audience titles; more complete details of its publishing structure are limited in public sources.
Contents
- 版权信息
- 前言
- 第1章 初步认识算法思想
- 1.1 什么是算法
- 1.2 算法是程序的灵魂
- 1.3 算法的表示方法
- 1.4 Python算法思想
- 第2章 枚举算法思想
- 2.1 Python中的枚举算法
- 2.2 算法演练:找出符合条件的五位数
- 2.3 算法演练:24点游戏
- 2.4 算法演练:解决熄灯问题
- 2.5 算法演练:解决旅行销售员问题
- 第3章 递归算法思想
- 3.1 递归算法思想基础
- 3.2 算法演练:解决“斐波那契数列”问题
- 3.3 算法演练:阶乘问题
- 3.4 算法演练:进制转换器
- 3.5 算法演练:解决二叉树遍历问题
- 3.6 算法演练:图像分割问题
- 第4章 分治算法思想
- 4.1 分治算法思想基础
- 4.2 算法演练:二分法找出有序列表指定值
- 4.3 算法演练:求顺序表中数据最大值
- 4.4 算法演练:找出一组序列中第k小(大)的元素
- 4.5 算法演练:实现归并排序
- 4.6 算法演练:整数划分
- 第5章 贪心算法思想
- 5.1 贪心算法思想基础
- 5.2 算法演练:解决“汽车加油”问题
- 5.3 算法演练:求最大子元素之和
- 5.4 算法演练:解决“幼儿园分糖果”问题
- 5.5 算法演练:移除k个数字
- 5.6 算法演练:解决“霍夫曼编码”问题
- 5.7 算法演练:用Kruskal算法求最小生成树
- 5.8 算法演练:安排会议室
- 第6章 回溯算法思想
- 6.1 回溯算法思想基础
- 6.2 算法演练:破解“解空间”
- 6.3 算法演练:解决“全排列”问题
- 6.4 算法演练:解决“最长公共子序列”问题
- 6.5 算法演练:解决“排课”问题
- 6.6 算法演练:解决“最佳作业调度”问题
- 6.7 算法演练:解决“图的遍历”问题
- 6.8 算法演练:解决“爬楼梯”问题
- 6.9 算法演练:解决“m着色”问题
- 6.10 算法演练:解决“旅行销售员”问题
- 6.11 算法演练:解决“八皇后”问题
- 6.12 算法演练:解决“迷宫”问题
- 6.13 算法演练:为外卖小哥规划最佳送餐路径
- 第7章 迭代算法思想
- 7.1 迭代算法思想基础
- 7.2 算法演练:解决“斐波那契数列”问题
- 7.3 算法演练:解决“角谷猜想”问题
- 7.4 算法演练:使用牛顿迭代法计算方程的根
- 7.5 算法演练:使用牛顿迭代法求平方根
- 7.6 算法演练:使用牛顿迭代法求极值并绘制曲线
- 7.7 算法演练:求方程在x附近的一个实根
- 7.8 算法演练:解决“非线性方程组”问题
- 7.9 算法演练:使用Jacobi迭代法求解线性方程组
- 7.10 算法演练:使用Gauss-Seidel迭代法求解线性方程组
- 7.11 算法演练:为房东解决房屋租金调整的问题
- 第8章 查找算法
- 8.1 查找算法基础
- 8.2 线性表查找:顺序查找算法
- 8.3 线性表查找:折半查找算法
- 8.4 线性表查找:插值查找算法
- 8.5 线性表查找:分块查找算法
- 8.6 基于树的查找法:二叉排序树算法
- 8.7 基于树的查找法:平衡二叉排序树算法
- 8.8 哈希查找算法
- 8.9 斐波那契查找算法
- 8.10 红黑树查找算法
- 8.11 算法演练:解决图书馆书籍查找和借阅问题
- 第9章 排序算法
- 9.1 排序算法基础
- 9.2 插入排序算法
- 9.3 希尔排序
- 9.4 交换类排序:冒泡排序算法
- 9.5 交换类排序:快速排序算法
- 9.6 选择排序算法
- 9.7 堆排序算法
- 9.8 归并排序算法
- 9.9 基数排序算法
- 9.10 综合比较各种排序算法
- 第10章 使用算法解决数据结构问题
- 10.1 约瑟夫环
- 10.2 操作顺序表
- 10.3 操作链表
- 10.4 综合实战:商业日程管理系统
- 第11章 使用算法解决常见数学问题
- 11.1 一段神奇的字符
- 11.2 完全数
- 11.3 亲密数
- 11.4 素数
- 第12章 经典算法问题
- 12.1 借书方案
- 12.2 平分七筐鱼问题
- 12.3 五家共井问题
- 12.4 常胜将军问题
- 12.5 三色彩带问题
- 第13章 人工智能算法
- 13.1 线性回归算法
- 13.2 二元决策树算法
- 13.3 Bagging算法
- 13.4 Boosting算法
- 13.5 随机森林算法
FAQ
I have no algorithm background and only know a little Python. Can I understand this book?
Is this book suitable for preparing for programming interviews?
What runtime environment do the algorithm examples require?
Should I read it cover to cover or use it for reference?
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.
About the author
Xu Qingfeng is an author about whom limited public information is available. At present, he is known only as the author of Python Common Algorithms Handbook (2nd Edition), a work categorized under programming design. Judging from the title and category, the book focuses on commonly used algorithms in the Python programming language and is intended for readers who wish to study algorithm implementation and application systematically, making it a technical reference work. Xu Qingfeng's writing is practice-oriented, combining algorithmic principles with Python code so that readers can understand and apply common algorithms within a programming environment. Although details such as his personal background, nationality, and dates of birth and death remain unclear, the work offers hands-on learning material in the field of programming design and can serve as an auxiliary text for both introducing and consulting algorithms. Based on the available information, Xu Qingfeng's public profile is sparse, and his output is represented mainly by this single work.