{{sellerTotalView > 1 ? __("sellers", {number: sellerTotalView}) : __("seller", {number: sellerTotalView}) }}, {{numTotalView > 1 ? __("items", {number: numTotalView}) : __("item", {number: numTotalView}) }}
free FREE

Change Your Zip Code

Inventory information and delivery speeds may vary for different locations.

Location History

{{email ? __('Got it!') : __('Restock Alert')}}

We will notify you by email when the item back in stock.

Cancel
Yami

Jingdong book

Python算法教程

{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}

Python算法教程

{{__(":people-members", {'people': item.limit_people_count})}} {{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ item.invalid_price }} {{ itemDiscount }}
Ends in
{{ itemCurrency }}{{ item.valid_price }}
{{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }}
{{ itemDiscount }}
{{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }} {{ itemCurrency }}{{ item.invalid_price }} {{itemDiscount}}
{{ itemCurrency }}{{ item.valid_price }}
Sale ends in
Sale will starts after Sale ends in
{{ getSeckillDesc(item.seckill_data) }}
{{ __( "Pay with Gift Card to get sale price: :itemCurrency:price", { 'itemCurrency' : itemCurrency, 'price' : (item.giftcard_price ? priceFormat(item.giftcard_price) : '0.00') } ) }} ({{ itemCurrency }}{{ priceFormat(item.giftcard_price / item.bundle_specification) }}/{{ item.unit }}) Details
Best before

Currently unavailable.

We don't know when or if this item will be back in stock.

Unavailable in your area.
Sold Out

Details

Full product details
Editer Recommend

本书作者是畅销书Python基础教程(第2版)的作者,在Python领域颇有知名度。
本书用Python语言来讲解算法的分析和设计。本书主要关注经典的算法。
Content Description

Python是一种面向对象、解释型计算机程序设计语言,其应用领域非常广泛,包括数据分析、自然语言处理、机器学习、科学计算以及推荐系统构建等。
本书用Python语言来讲解算法的分析和设计。本书主要关注经典的算法,但同时会为读者理解基本算法问题和解决问题打下很好的基础。全书共11章。分别介绍了树、图、计数问题、归纳递归、遍历、分解合并、贪心算法、复杂依赖、Dijkstra算法、匹配切割问题以及困难问题及其稀释等内容。本书在每一章结束的时候均有练习题和参考资料,这为读者的自我检查以及进一步学习提供了较多的便利。在全书的结尾,给出了练习题的提示,方便读者进行查漏补缺。
本书概念和知识点讲解清晰,语言简洁。本书适合对Python算法感兴趣的初中级用户阅读和自学,也适合高等院校的计算机系学生作为参考教材来阅读。
Author Description

Magnus Lie Hetland是一位经验丰富的Python程序员,他自上世纪90年代以来就一直在使用该语言。同时,他还是挪威科技大学的副教授,有着数十年的算法教学经验,是《Beginning Python》 一书作者。
Catalogue

第1章 引言 1
1.1 这是一本怎么样的书 2
1.1.1 本书将主要涉及以下内容 3
1.1.2 本书还将简单或部分涉及
以下内容 3
1.1.3 本书不会涉足以下领域 3
1.2 为什么要读这本书 3
1.3 一些准备工作 5
1.4 本书主要内容 5
1.5 本章小结 7
1.6 如果您感兴趣 7
1.7 练习题 7
1.8 参考资料 8
第2章 基础知识 9
2.1 计算领域中一些核心理念 9
2.2 渐近记法 11
2.2.1 我看不懂这些希腊文 12
2.2.2 交通规则 14
2.2.3 让我们拿渐近性问题
练练吧 16
2.2.4 三种重要情况 19
2.2.5 实证式算法评估 20
2.3 图与树的实现 24
2.3.1 邻接列表及其类似结构 26
2.3.2 邻接矩阵 29
2.3.3 树的实现 32
2.3.4 多种表示法 35
2.4 请提防黑盒子 36
2.4.1 隐性平方级操作 37
2.4.2 浮点运算的麻烦 38
2.5 本章小结 41
2.6 如果您感兴趣 42
2.7 练习题 42
2.8 参考资料 43
第3章 计数初步 46
3.1 求和式的含义 46
3.1.1 更多希腊字母 47
3.1.2 求和式的运用 47
3.2 两种赛制的故事 48
3.2.1 握手问题 48
3.2.2 龟兔赛跑 50
3.3 子集与排列组合 54
3.4 递归与递归式 56
3.4.1 手动推导 57
3.4.2 几个重要例子 59
3.4.3 猜测与检验 62
3.4.4 主定理:一刀切式的
解决方案 65
3.5 这一切究竟是什么呢 67
3.6 本章小结 69
3.7 如果您感兴趣 69
3.8 练习题 70
3.9 参考资料 71
第4章 归纳、递归及归简 72
4.1 哦,这其实很简单 73
4.2 一而再,再而三 74
4.3 魔镜,魔镜 77
4.4 基于归纳法(与递归法)的设计 82
4.4.1 寻找最大排列 82
4.4.2 明星问题 86
4.4.3 拓扑排序问题 88
4.5 更强的假设条件 92
4.6 不变式与正确性 94
4.7 松弛法与逐步完善 94
4.8 归简法+换位法=困难度证明 95
4.9 一些解决问题的建议 97
4.10 本章小结 98
4.11 如果您感兴趣 98
4.12 练习题 99
4.13 参考资料 101
第5章 遍历:算法学中的万能钥匙 102
5.1 公园漫步 109
5.1.1 不允许出现环路 109
5.1.2 停止循环遍历的方式 110
5.2 继续深入 111
5.3 无限迷宫与最短(不加权)
路径问题 115
5.4 强连通分量 120
5.5 本章小结 123
5.6 如果您感兴趣 123
5.7 练习题 124
5.8 参考资料 125
第6章 分解、合并、解决 126
6.1 树状问题,即平衡问题 126
6.2 经典分治算法 129
6.3 折半搜索 129
6.3.1 搜索树的遍历及其剪枝 132
6.3.2 选取算法 135
6.4 折半排序 137
排序操作究竟可以有多快 140
6.5 三个额外实例 140
6.5.1 最近点对问题 141
6.5.2 凸包问题 142
6.5.3 最大切片问题 144
6.6 树的平衡与再平衡 145
6.7 本章小结 151
6.8 如果您感兴趣 152
6.9 练习题 152
6.10 参考资料 153
第7章 贪心有理吗?请证明 154
7.1 步步为营,万无一失 154
7.2 背包问题 158
7.2.1 分数背包问题 158
7.2.2 整数背包问题 159
7.3 哈夫曼算法 159
7.3.1 具体算法 160
7.3.2 首次贪心选择 162
7.3.3 走完剩余部分 163
7.3.4 最优化归并 164
7.4 最小生成树问题 165
7.4.1 最短边问题 166
7.4.2 其余部分的相关情况 167
7.4.3 Kruskal算法 168
7.4.4 Prim算法 170
7.5 贪心不是问题,问题是
何时贪心 173
7.5.1 坚持做到最好 173
7.5.2 尽量做到完美 174
7.5.3 做好安全措施 175
7.6 本章小结 177
7.7 如果您感兴趣 178
7.8 练习题 178
7.9 参考资料 179
第8章 复杂依赖及其记忆体化 180
8.1 不要重复自己 181
8.2 有向无环图中的最短路径问题 187
8.3 最长递增子序列问题 190
8.4 序列比对问题 193
8.5 背包问题的反击 196
8.6 序列的二元分割 199
8.7 本章小结 202
8.8 如果您感兴趣 203
8.9 练习题 203
8.10 参考资料 204
第9章 Dijkstra及其朋友们
从A到B的旅程 206
9.1 扩展知识 207
9.2 松弛可“疯狂” 208
9.3 找到隐藏的DAG图 213
9.4 多对多问题 216
9.5 “牵强”的子问题 218
9.6 中途相遇 220
9.7 把握未来走向 223
9.8 本章小结 226
9.9 如果您感兴趣 227
9.10 练习题 228
9.11 参考资料 228
第10章 匹配、切割及流量 229
10.1 二分图匹配 230
10.2 不相交的路径 233
10.3 最大流问题 236
10.4 最小切割集问题 240
10.5 最小成本的流及赋值问题 241
10.6 一些应用 243
10.7 本章小结 247
10.8 如果您感兴趣 247
10.9 练习题 248
10.10 参考资料 249
第11章 困难问题及其(有限)稀释 250
11.1 重提归简 251
11.2 不待在肯萨斯州了 254
11.3 但目前,我们还是得回
到肯萨斯州 255
11.4 我们应从何处开始?
前往何处呢 259
11.5 怪物乐园 264
11.5.1 背包的返回 264
11.5.2 分团与着色 266
11.5.3 路径与环路 269
11.6 当困难来临的时候,聪明人
就开始犯错 272
11.7 尽力寻找解决方案 275
11.8 这些故事告诉我们 277
11.9 本章小结 279
11.10 如果您感兴趣 279
11.11 练习题 280
11.12 参考资料 281
附录A 猛踩油门!令Python加速 282
附录B 一些著名问题与算法 286
问题部分 286
算法与数据结构部分 289
附录C 图论基础 295
附录D 习题提示 301
第1章 301
第2章 301
第3章 303
第4章 304
第5章 307
第6章 308
第7章 310
第8章 312
第9章 313
第10章 314
第11章 315

Specifications

Brand Jingdong book
Brand Origin China

Disclaimer

Product packaging, specifications and price are subject to change without notice. All information about the products on our website is provided for information purposes only. Please always read labels, warnings and directions provided with the product before use.

View Full Terms of Use
Add to favorites
{{ $isZh ? coupon.coupon_name_sub : coupon.coupon_ename_sub | formatCurrency }}
{{__("Buy Directly")}} {{ itemCurrency }}{{ item.directly_price }}
Quantity
{{ quantity }}
{{ instockMsg }}
{{ limitText }}
{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}
Sold by JD@CHINA
Ship to
{{ __("Ship to United States only") }}
Free shipping over 69
Genuine guarantee

Added to Cart

Keep Shopping

More to Consider

{{ item.brand_name }}

{{ item.item_name }}

{{ item.currency }}{{ item.market_price }}

{{ item.currency }}{{ item.unit_price }}

{{ item.currency }}{{ item.unit_price }}

Coupons

{{ coupon.coupon_name_new | formatCurrency }}
Clip Clipped Over
{{ getCouponDescStr(coupon) }}
{{ coupon.use_time_desc }}
Expires soon {{ formatTime(coupon.use_end_time) }}

Share this item with friends

Cancel

Yami Gift Card

Get this exclusive deal when paying with gift card

Terms and Conditions

Gift card deals are special offers for selected products;

The gift card deals will automatically be activated if a customer uses gift card balance at check out and the balance is sufficient to pay for the total price of the shopping cart products with gift card deals;

You will not be able to activate the gift card deals if you choose other payment methods besides gift card. The products will be purchased at their normal prices;

If your account balance is not enough to pay for the products with gift card deals, you can choose to reload your gift card balance by clicking on the Reload button at either shopping cart page or check out page;

Products that have gift card deals can be recognized by a special symbol showing 'GC Deal';

For any additional questions or concerns, please contact our customer service;

Yamibuy reserves the right of final interpretation.

Sold by Yami

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

Yami is committed to provide our customers with a peace of mind when purchasing from us. Most items shipped from Yamibuy.com can be returned within 30 days of receipt of shipment (For Food, Beverages, Snacks, Dry Goods, Health supplements, Fresh Grocery and Perishables Goods, within 7 days of receipt of shipment due to damages or quality issues; To ensure that every customer receives safe and high-quality products, we do not provide refunds or returns for beauty products once they have been opened or used, except in the case of quality issues; Some products may have different policies or requirements associated with them, please see below for products under special categories, or contact Yami Customer Service for further assistance).
Thank you for your understanding and support.

Learn More

Sold by Yami

Terms and Conditions of Yami E-Gift Card

If you choose “Redeem automatically” as your delivery method, your gift card balance will be reload automatically after your order has been processed successfully;

If you choose “Send to Email”as your delivery method, the card number and CVV will be sent to the email address automatically;

Any user can use the card number and CVV to redeem the gift card, please keep your gift card information safely. If you have any trouble receiving email, please contact Yami customer service;

Yami gift card can be used to purchase both Yami owned or Marketplace products;

Yami gift card will never expire;

Yami gift card balance does not have to be used up at once;

All rights reserved by Yami.

Return Policy

Gift card that has already been consumed is non-refundable.

Sold by JD@CHINA

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Sold by JD@CHINA

Service Guarantee

Yami Cross-store Free Shipping over $69
Yami 30-days Return

Yami-China FC

Yami has a consolidation warehouse in China which collects multiple sellers’ packages and combines to one order. Our Yami consolidation warehouse will directly ship the packages to your door. Cross-store free shipping over $69.

Return Policy

You may return products within 30 days upon receiving the products. Sellers take responsibilities for any wrong shipment or missing items. Packing needs to be unopened for any other than quality issues return. We promise to pack carefully, but because goods are taking long journey to destinations, simple damages to packaging may occur. Any damages not causing internal goods quality problems are not allowed to return. If you open the package and any quality problem is found, please contact customer service within three days after receipt of goods.

Shipping Information

Yami Consolidation Service Shipping Fee $9.99(Free shipping over $69)

Sellers in China will ship their orders within 1-2 business days once the order is placed. Packages are sent to our consolidation warehouse in China and combined there. Our Yami consolidation warehouse will directly ship the packages to you via UPS. The average time for UPS to ship from China to the United States is about 10 working days and it can be traced using the tracking number. Due to the pandemic, the delivery time may be delayed by about 5 days. The package needs to be signed by the guest. If the receipt is not signed, the customer shall bear the risk of loss of the package.

Sold by JD@CHINA

Service Guarantee

Free shipping over 69
Genuine guarantee

Shipping

Yami Consolidated Shipping $9.99(Free shipping over $69)


Seller will ship the orders within 1-2 business days. The logistics time limit is expected to be 7-15 working days. In case of customs clearance, the delivery time will be extended by 3-7 days. The final receipt date is subject to the information of the postal company.

Yami Points information

All items are excluding from any promotion or points events on Yamibuy.com

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Yami

Download the Yami App

Back Top

Recommended for You

About the brand

Jingdong book

为您推荐

Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折

Reviews{{'('+ commentList.posts_count + ')'}}

Have your say. Be the first to help other guests.

Write a review
{{ totalRating }} Write a review
  • {{i}} star

    {{i}} stars

    {{ parseInt(commentRatingList[i]) }}%

Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}
Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}

No related comment~

Review

Yami Yami

{{ showTranslate(commentDetails) }}Show Less

{{ strLimit(commentDetails,800) }}Show more

Show Original

{{ commentDetails.content }}

Yami
Show All

{{ formatTime(commentDetails.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ commentDetails.likes_count }} {{ commentDetails.likes_count }} {{ commentDetails.reply_count }} {{commentDetails.in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Comments{{'(' + replyList.length + ')'}}

Yami Yami

{{ showTranslate(reply) }}Show Less

{{ strLimit(reply,800) }}Show more

Show Original

{{ reply.reply_content }}

{{ formatTime(reply.reply_in_dtm) }}

{{ reply.reply_likes_count }} {{ reply.reply_likes_count }} {{ reply.reply_reply_count }} {{reply.reply_in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Cancel

That’s all the comments so far!

Write a review
How would you rate this item?

Please add your comment.

  • A nice nickname will make your comments more popular!
  • The nickname in your account will be changed to the same as here.
Thanks for your review
Our community rely on great reviews like yours to find the best of Asia.

Report

If you find this content inappropriate and think it should be removed from the Yami.com site, let us know please.

Cancel

Are you sure to delete your review?

Cancel

You’ve Recently Viewed

About the brand

Jingdong book