Algorithmic Thinking will teach you how to solve challenging programming problems and design your own algorithms. Daniel Zingaro, a master teacher, draws his examples from world-class programming competitions like USACO and IOI. You’ll learn how to classify problems, choose data structures, and identify appropriate algorithms. You’ll also learn how your choice of data structure, whether a hash table, heap, or tree, can affect runtime and speed up your algorithms; and how to adopt powerful strategies like recursion, dynamic programming, and binary search to solve challenging problems.
Line-by-line breakdowns of the code will teach you how to use algorithms and data structures like:
The breadth-first search algorithm to find the optimal way to play a board game or find the best way to translate a book
Dijkstra’s algorithm to determine how many mice can exit a maze or the number of fastest routes between two locations
The union-find data structure to answer questions about connections in a social network or determine who are friends or enemies
The heap data structure to determine the amount of money given away in a promotion
The hash-table data structure to determine whether snowflakes are unique or identify compound words in a dictionary
NOTE: Each problem in this book is available on a programming-judge website. You’ll find the site’s URL and problem ID in the description. What’s better than a free correctness check?
Dr. Daniel Zingaro is an award-winning Assistant Professor of Mathematical and Computational Sciences at the University of Toronto Mississauga, where he is well known for his uniquely interactive approach to teaching, and internationally recognized for his expertise in Active Learning.
唐锐涛 (Thomas D. Doctoroff)智威汤逊-中乔广告公司 (J. Walter Thomson/Bridge) 东北亚区总裁兼大中华区首席执行官...
~50種基本水晶+75種能量處方~★長年高居美國亞馬遜Energy Healing、Divination with Crystals NO.1!★2600多位讀...
麻宫骑亚(KiaAsamiya),男,1963年1月28日出生于东京都板桥区。漫画家、插画家。1990年与以卡通动画色彩设计闻名的菊池通隆共同
《UI/UE系列丛书 用户至上:用户研究方法与实践(原书第2版)》是用户研究方法指南,谷歌用户体验研究员十几年工作经验结晶,从理论到实战,包含完整的实操案例,是...
Sebastian Mallabys magisterial biography of Alan Greenspan, the product of over ...
给遭遇离别和失去的心灵温柔一抱爱宠虽然逝去,爱意长留心间原创治愈系生命教育绘本学会如何说“再见”◎ 编辑推荐★ 以宠物去世为切入点,讲述生命的故事小婉有一只陪她...
扶阳论坛-3 本书特色 《扶阳论坛(3)》:扶阳学派,为中医教育和传承开辟了一条新路。通过“系列图书,年度论坛”的开放方式,让千名、万名医界读者直接受益。《扶阳...
恐怖行動時代,所有理性的人必讀的一本書。作者哈里斯戳破文化相對主義、自由主義和宗教溫和派,在文化和智識上對宗教非理性的妥協,是本驚世駭俗又充滿勇氣的書!★《紐約...
安吉拉·卡特(Angela Carter,1940—1992)英国知名女作家,作品风格独树一帜,融合魔幻现实主义、女性主义、哥特和寓言色彩于一体,想象奇诡,语言...
司溟,性别女,爱好男。平生好读书,不求甚解;爱美人,默默窥屏;嗜美食,而非老饕;喜饮酒,轻易不醉。能谈禅,会说段;能插科,会打诨;能吟诗,会作画。无甚大志,煮字...
编辑推荐★精选知乎九年来的精彩匿名故事★抖音两百万赞★无数用户打卡追更★错过便再难相遇,遇到怎能不珍藏★天南海北、不同年龄、不同职业的他们,对陌生的你打开深埋心...
新型干法水泥厂工艺设计手册 内容简介 本书主要介绍新型干法水泥生产的新工艺、新技术、新设备,并对工艺设计计算作了详尽叙述,附有计算实例;对新型干法水泥生产各阶段...
W.Richard Stevens,国际知名的UNIX和网络专家,备受赞誉的技术作家。他1951年2月5日出生于赞比亚,后随父母回到美国。中学时就读于弗吉尼亚菲...
通信纠错中的数学 本书特色 本书主要介绍组合学、初等数论和线性代数的基本知识,如何用来解决通信中的纠错问题。事实上,相当高深的近代数论、代数与代数几何的研究结果...
《无线移动互联网:原理、技术与应用》是一本介绍无线移动互联网基本原理和最新研究进展的教材。《无线移动互联网:原理、技术与应
阿尔贝·加缪 Albert Camus1913年生于北非阿尔及利亚,1960年于法国因车祸骤逝。法国声名卓著的小说家、散文家和剧作家,“存在主义”文学的大师,“...
精彩摘录人们使用各种策略试图让自己感觉更好,但安吉拉从未学过监督、评估、改变以及接受强烈情感体验所需的技能。这就是安吉拉
《印•像:行摄川西》主要内容简介:川西有许多地方被称为“摄影天堂”,在众多美景面前,人们总希望能够用相机将其定格成永恒的画面。《印•像:行摄川西》叫做《行摄川西...
★17岁一举成名,日本文坛最会讲故事的天才作家乙一★多部作品被影视化,日本现今最受欢迎的作家之一,在国内也拥有超高人气★以“中田永一”之名,延续经典“白乙一”风...
戴维 匹曹是《Field & Stream》杂志编辑,负责有关步枪的内容,于1972年加入杂志社。他毕业于科尔盖特大学,1963至1965年在美国陆军服役。19...